🐳 Add docker
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:12
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY . ./
|
||||
|
||||
# building the app
|
||||
RUN npm i
|
||||
RUN npm run build
|
||||
|
||||
# Running the app
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user