Add docker-template
This commit is contained in:
10
si/docker-template/Dockerfile
Normal file
10
si/docker-template/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM node:12.18.1
|
||||
ENV NODE_ENV=production
|
||||
|
||||
COPY "src" "/app"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm install --production
|
||||
|
||||
CMD [ "node", "app.js" ]
|
||||
Reference in New Issue
Block a user