Actuall Dockerfile

This commit is contained in:
Lukas Bachschwell 2017-09-19 00:06:32 +02:00
parent 60a9c29c9a
commit dafc52aa09

View File

@ -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" ]