start to create docker compose things but hey, that's ok

This commit is contained in:
0d0 2025-02-06 12:42:06 +01:00
parent f40b429b92
commit 47b6370d98
8 changed files with 5025 additions and 3152 deletions

21
Dockerfile Normal file
View file

@ -0,0 +1,21 @@
FROM node:20
WORKDIR /usr
COPY package.json ./
COPY package-lock.json ./
RUN npm ci
COPY . ./
RUN npm run build
# RUN npm run add-sigint
FROM node:20
WORKDIR /app
COPY package.json ./
COPY package-lock.json ./
RUN npm ci
COPY . ./
COPY --from=build /usr/build /app
EXPOSE 8000
CMD ["node", "/app"]