Actuall Dockerfile

This commit is contained in:
Lukas Bachschwell 2017-09-19 00:06:32 +02:00
parent 60a9c29c9a
commit dafc52aa09
1 changed files with 15 additions and 1 deletions

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