/[sudobot]/branches/6.x/Dockerfile
ViewVC logotype

Annotation of /branches/6.x/Dockerfile

Parent Directory Parent Directory | Revision Log Revision Log


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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26