Adding Dockerfile for tutorial

This commit is contained in:
slaterj 2021-05-27 08:15:19 -05:00
parent 13386236e4
commit d2b680e438

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"]