Actuall Dockerfile

master
Lukas Bachschwell 5 years ago
parent 60a9c29c9a
commit dafc52aa09
  1. 16
      Dockerfile

@ -1 +1,15 @@
8.5.0-alpine
FROM node:alpine
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json .
RUN yarn install
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "npm", "start" ]

Loading…
Cancel
Save