Parent Directory
|
Revision Log
build(docker): fix 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 | EXPOSE 4000 | ||
20 | rakin | 355 | CMD ["npm", "run", "start:node"] |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |