dashboard/Dockerfile
2020-05-24 23:23:40 +02:00

18 lines
246 B
Docker

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