Command-fix/Dockerfile

14 lines
224 B
Docker

FROM mhart/alpine-node:latest
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json package-lock.json ./
RUN npm install
# Bundle app source
COPY . .
ENTRYPOINT [ "node", "server.js" ]