draft-classic/packs/javascript/Dockerfile

12 строки
154 B
Docker

FROM node:10
ENV PORT 8080
EXPOSE 8080
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json .
RUN npm install
COPY . .
CMD ["npm", "start"]