creacion de imagen docker

Mi primaera imagen de docker
This commit is contained in:
oqgaribay9408
2021-04-17 20:15:53 -05:00
parent 4b6b5476c5
commit 425b9b4d7a
2 changed files with 7 additions and 1 deletions

6
app/Dockerfile Normal file
View File

@@ -0,0 +1,6 @@
FROM node:12-alpine
RUN apk add --no-cache python g++ make
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]