CliffbreakTS-Viewer/Dockerfile

9 lines
246 B
Docker
Raw Permalink Normal View History

2020-04-29 09:33:39 +00:00
FROM node:14.0
ENV NODE_ENV dev
WORKDIR /usr/src/app
COPY server/package*.json ./server/
COPY server/.env.example ./server/.env
RUN npm --prefix ./server install --production ./server --silent
COPY . .
EXPOSE 3000
CMD npm --prefix ./server start