first commit
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:10.13 AS builder
|
||||
WORKDIR /app/
|
||||
COPY . .
|
||||
RUN npm install
|
||||
|
||||
FROM node:10.13-slim
|
||||
WORKDIR /app/
|
||||
COPY --from=builder /app .
|
||||
user node
|
||||
EXPOSE 3000
|
||||
CMD [ "node", "app.js" ]
|
||||
Reference in New Issue
Block a user