Dockerised, ready to deploy

This commit is contained in:
Dean Bartok-Thomas
2019-08-20 13:39:10 +01:00
parent 4007a10077
commit 99c129980b
4 changed files with 98 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM node:alpine
WORKDIR /app
RUN apk add --no-cache git
COPY package.json /app
RUN npm install
COPY . /app
CMD npm run docker:serve
#Node Application Port
EXPOSE 8080