mirror of
https://github.com/Thream/api.git
synced 2024-07-21 03:38:31 +02:00
12 lines
160 B
Docker
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"]
|