Parent Directory
|
Revision Log
build: add dockerfile
1 | rakin | 355 | FROM node:18-buster |
2 | RUN apt update && apt upgrade -y | ||
3 | WORKDIR /app | ||
4 | COPY . . | ||
5 | RUN npm install -D | ||
6 | RUN npm run build | ||
7 | COPY . . | ||
8 | COPY ./config /app/config | ||
9 | CMD ["npm", "run", "start:node"] | ||
10 | EXPOSE 4000 |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |