init
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@ -0,0 +1,10 @@
|
||||
FROM node:alpine
|
||||
|
||||
ARG PORT
|
||||
ENV PORT=$PORT
|
||||
|
||||
COPY . .
|
||||
RUN npm install && npm run build
|
||||
|
||||
CMD ["node", "dist/main.js"]
|
||||
EXPOSE $PORT
|
Reference in New Issue
Block a user