cloudnet-compose/result/Dockerfile

20 lines
227 B
Docker
Raw Permalink Normal View History

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