Dockerised, ready to deploy
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal 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
|
Reference in New Issue
Block a user