Parent Directory
|
Revision Log
build(docker): use `npm ci`
1 | rakin | 355 | FROM node:18-buster |
2 | rakin | 357 | |
3 | rakin | 355 | WORKDIR /app |
4 | rakin | 357 | |
5 | COPY package.json . | ||
6 | rakin | 358 | COPY package-lock.json . |
7 | rakin | 357 | COPY tsconfig.json . |
8 | rakin | 358 | COPY init.sh . |
9 | COPY src ./src | ||
10 | rakin | 357 | |
11 | rakin | 358 | RUN npm ci --progress=false --no-audit --loglevel=error |
12 | rakin | 355 | RUN npm run build |
13 | rakin | 357 | |
14 | rakin | 355 | COPY . . |
15 | rakin | 357 | |
16 | EXPOSE 4000 | ||
17 | rakin | 355 | CMD ["npm", "run", "start:node"] |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |