/[sudobot]/branches/9.x-dev/Dockerfile
ViewVC logotype

Contents of /branches/9.x-dev/Dockerfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (show annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months ago) by rakinar2
File size: 506 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 FROM node:21-alpine
2
3 WORKDIR /app
4
5 RUN apk add --no-cache python3 build-base g++ cairo-dev jpeg-dev pango-dev giflib-dev
6
7 COPY .env.docke[r] ./.env
8 COPY package.json .
9 RUN npm install -D
10
11 COPY tsconfig.json .
12 COPY src ./src
13 COPY prisma ./prisma
14 COPY resources ./resources
15 COPY ecosystem.config.js .
16
17 RUN npx prisma generate
18 RUN npm run build
19
20 # -- Uncomment the following line if you want a smaller image size
21 # RUN npm prune --production
22
23 EXPOSE 4000
24 CMD ["npm", "run", "start:prod", "--", "--no-daemon"]

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26