Dockerfile

This commit is contained in:
Adolfo Delorenzo
2021-09-07 17:11:20 -06:00
parent 13386236e4
commit c9337417ae
3 changed files with 12 additions and 4 deletions

7
app/Dockerfile Normal file
View 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"]