cloudnet-compose/result/Dockerfile
2019-08-25 18:24:05 -04:00

20 lines
227 B
Docker

FROM node:10-slim
WORKDIR /app
RUN npm install -g nodemon
COPY package*.json ./
RUN npm ci \
&& npm cache clean --force \
&& mv /app/node_modules /node_modules
COPY . .
ENV PORT 80
EXPOSE 80
CMD ["node", "server.js"]