Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
I
init-things
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nanahira
init-things
Commits
4c041766
Commit
4c041766
authored
Oct 31, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
3d23c953
Pipeline
#41328
passed with stages
in 8 minutes and 16 seconds
Changes
6
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
8 deletions
+80
-8
things/nest-typeorm/Dockerfile
things/nest-typeorm/Dockerfile
+10
-1
things/nest-typeorm/Dockerfile.puppeteer
things/nest-typeorm/Dockerfile.puppeteer
+21
-0
things/nest/Dockerfile.puppeteer
things/nest/Dockerfile.puppeteer
+28
-0
things/npm/install-npm.sh
things/npm/install-npm.sh
+3
-1
things/npm/package.json
things/npm/package.json
+16
-5
things/python/.gitignore
things/python/.gitignore
+2
-1
No files found.
things/nest-typeorm/Dockerfile
View file @
4c041766
FROM
node:lts-trixie-slim as base
FROM
node:lts-trixie-slim as base
LABEL
Author="Nanahira <nanahira@momobako.com>"
LABEL
Author="Nanahira <nanahira@momobako.com>"
RUN
apt update
&&
apt
-y
install
python3 build-essential libpq-dev
&&
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
/var/log/
*
ENV
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN
apt update
&&
apt
-y
install
curl ca-certificates gnupg2
&&
\
curl
-sSL
https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add -
&&
\
echo
'deb https://dl.google.com/linux/chrome/deb/ stable main'
>
/etc/apt/sources.list.d/google-chrome.list
&&
\
apt update
&&
\
apt
-y
install
python3 build-essential git google-chrome-stable libnss3 libfreetype6-dev libharfbuzz-bin libharfbuzz-dev ca-certificates fonts-freefont-otf fonts-freefont-ttf fonts-noto-cjk fonts-noto-cjk-extra fonts-wqy-microhei fonts-wqy-zenhei xvfb libpq-dev
&&
\
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
/var/log/
*
WORKDIR
/usr/src/app
WORKDIR
/usr/src/app
COPY
./package*.json ./
COPY
./package*.json ./
...
...
things/nest-typeorm/Dockerfile.puppeteer
0 → 100644
View file @
4c041766
FROM node:lts-trixie-slim as base
LABEL Author="Nanahira <nanahira@momobako.com>"
RUN apt update && apt -y install python3 build-essential libpq-dev && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
WORKDIR /usr/src/app
COPY ./package*.json ./
FROM base as builder
RUN npm ci && npm cache clean --force
COPY . ./
RUN npm run build
FROM base
ENV NODE_ENV production
RUN npm ci && npm cache clean --force
COPY --from=builder /usr/src/app/dist ./dist
COPY ./config.example.yaml ./config.yaml
ENV NODE_PG_FORCE_NATIVE=true
EXPOSE 3000
CMD [ "npm", "run", "start:prod" ]
things/nest/Dockerfile.puppeteer
0 → 100644
View file @
4c041766
FROM node:lts-trixie-slim as base
LABEL Author="Nanahira <nanahira@momobako.com>"
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
RUN apt update && apt -y install curl ca-certificates gnupg2 && \
curl -sSL https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - && \
echo 'deb https://dl.google.com/linux/chrome/deb/ stable main' > /etc/apt/sources.list.d/google-chrome.list && \
apt update && \
apt -y install python3 build-essential git google-chrome-stable libnss3 libfreetype6-dev libharfbuzz-bin libharfbuzz-dev ca-certificates fonts-freefont-otf fonts-freefont-ttf fonts-noto-cjk fonts-noto-cjk-extra fonts-wqy-microhei fonts-wqy-zenhei xvfb && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /var/log/*
WORKDIR /usr/src/app
COPY ./package*.json ./
FROM base as builder
RUN npm ci && npm cache clean --force
COPY . ./
RUN npm run build
FROM base
ENV NODE_ENV production
RUN npm ci && npm cache clean --force
COPY --from=builder /usr/src/app/dist ./dist
COPY ./config.example.yaml ./config.yaml
EXPOSE 3000
CMD [ "npm", "run", "start:prod" ]
things/npm/install-npm.sh
View file @
4c041766
...
@@ -12,4 +12,6 @@ npm install --save-dev \
...
@@ -12,4 +12,6 @@ npm install --save-dev \
jest
\
jest
\
@types/jest
\
@types/jest
\
ts-jest
\
ts-jest
\
rimraf
rimraf
\
esbuild
\
esbuild-register
things/npm/package.json
View file @
4c041766
...
@@ -2,25 +2,36 @@
...
@@ -2,25 +2,36 @@
"name"
:
"myproject"
,
"name"
:
"myproject"
,
"description"
:
"myproject-desc"
,
"description"
:
"myproject-desc"
,
"version"
:
"1.0.0"
,
"version"
:
"1.0.0"
,
"main"
:
"dist/index.js"
,
"main"
:
"dist/index.cjs"
,
"module"
:
"dist/index.mjs"
,
"types"
:
"dist/index.d.ts"
,
"types"
:
"dist/index.d.ts"
,
"exports"
:
{
"."
:
{
"import"
:
"./dist/index.mjs"
,
"require"
:
"./dist/index.cjs"
,
"types"
:
"./dist/index.d.ts"
}
},
"scripts"
:
{
"scripts"
:
{
"lint"
:
"eslint --fix ."
,
"lint"
:
"eslint --fix ."
,
"build"
:
"rimraf dist && tsc"
,
"compile:cjs"
:
"esbuild index.ts --outfile=dist/index.cjs --bundle --sourcemap --platform=node --target=es2019 --external:*"
,
"compile:esm"
:
"esbuild index.ts --outfile=dist/index.mjs --bundle --sourcemap --platform=neutral --target=esnext --external:*"
,
"compile:types"
:
"tsc --emitDeclarationOnly --declaration"
,
"build"
:
"rimraf dist && npm run compile:cjs && npm run compile:esm && npm run compile:types"
,
"test"
:
"jest --passWithNoTests"
,
"test"
:
"jest --passWithNoTests"
,
"start"
:
"node dist/index.js"
"start"
:
"node dist/index.js"
},
},
"repository"
:
{
"repository"
:
{
"type"
:
"git"
,
"type"
:
"git"
,
"url"
:
"https://code.m
ycard.moe/3rdeye
/myproject.git"
"url"
:
"https://code.m
oenext.com/nanahira
/myproject.git"
},
},
"author"
:
"Nanahira <nanahira@momobako.com>"
,
"author"
:
"Nanahira <nanahira@momobako.com>"
,
"license"
:
"MIT"
,
"license"
:
"MIT"
,
"keywords"
:
[],
"keywords"
:
[],
"bugs"
:
{
"bugs"
:
{
"url"
:
"https://code.m
ycard.moe/3rdeye
/myproject/issues"
"url"
:
"https://code.m
oenext.com/nanahira
/myproject/issues"
},
},
"homepage"
:
"https://code.m
ycard.moe/3rdeye
/myproject"
,
"homepage"
:
"https://code.m
oenext.com/nanahira
/myproject"
,
"jest"
:
{
"jest"
:
{
"moduleFileExtensions"
:
[
"moduleFileExtensions"
:
[
"js"
,
"js"
,
...
...
things/python/.gitignore
View file @
4c041766
...
@@ -2,4 +2,5 @@ __pycache__
...
@@ -2,4 +2,5 @@ __pycache__
*.pyc
*.pyc
*.pyo
*.pyo
venv
venv
*.http
*.http
\ No newline at end of file
.venv
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment