add dockerfile for app
This commit is contained in:
parent
13386236e4
commit
1825b4c553
7
app/Dockerfile
Normal file
7
app/Dockerfile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# syntax=docker/dockerfile:1
|
||||||
|
FROM node:12-alpine
|
||||||
|
RUN apk add --no-cache python g++ make
|
||||||
|
WORKDIR /app
|
||||||
|
COPY . .
|
||||||
|
RUN yarn install --production
|
||||||
|
CMD ["node", "src/index.js"]
|
Loading…
Reference in New Issue
Block a user