whitebophir/Dockerfile
Ophir LOJKINE c34ccbb17a Update dependencies
Switch from the unmaintained node-static to serve-static.
2020-04-12 11:15:22 +02:00

12 lines
157 B
Docker

FROM node:12-alpine
COPY . /opt/app
WORKDIR /opt/app
RUN npm install --production
ENV PORT=80
EXPOSE 80
VOLUME /opt/app/server-data
CMD ["npm", "start"]