2
1
mirror of https://github.com/Thream/api.git synced 2024-07-21 03:38:31 +02:00
api/Dockerfile
2021-10-24 04:06:16 +02:00

12 lines
160 B
Docker

FROM node:14.16.1
RUN npm install --global npm@7
WORKDIR /api
COPY ./package*.json ./
RUN npm install
COPY ./ ./
RUN npm run build
CMD ["npm", "run", "dev"]