/[sudobot]/trunk/Dockerfile
ViewVC logotype

Annotation of /trunk/Dockerfile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 404 - (hide annotations)
Mon Jul 29 17:30:04 2024 UTC (8 months ago) by rakin
File size: 347 byte(s)
build: update dockerfile
1 rakin 355 FROM node:18-buster
2 rakin 357
3 rakin 355 WORKDIR /app
4 rakin 357
5 rakin 365 RUN rm -rvf build
6     RUN rm -rvf node_modules
7    
8 rakin 357 COPY package.json .
9 rakin 358 COPY package-lock.json .
10 rakin 357 COPY tsconfig.json .
11 rakin 358 COPY init.sh .
12     COPY src ./src
13 rakin 357
14 rakin 358 RUN npm ci --progress=false --no-audit --loglevel=error
15 rakin 355 RUN npm run build
16 rakin 357
17 rakin 355 COPY . .
18 rakin 357
19 rakin 404 RUN test -f ./setup.sh && bash setup.sh
20    
21 rakin 357 EXPOSE 4000
22 rakin 355 CMD ["npm", "run", "start:node"]

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26