dashboard/Dockerfile
2020-05-24 22:44:21 +02:00

18 lines
221 B
Docker

FROM node:current-alpine
WORKDIR /app
COPY yarn.lock .
COPY package.json .
RUN [ "yarn", "install" ]
COPY data .
COPY src .
COPY public .
RUN [ "yarn", "build" ]
EXPOSE 3000 8080
CMD [ "yarn", "serve:production" ]