created docker file

This commit is contained in:
Franklin Guevara
2024-06-10 21:53:08 -06:00
parent f2d13b8483
commit 4950e83125
2 changed files with 7 additions and 1 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM node:18-alpine
WORKDIR /app
COPY . .
RUN yarn install --production
CMD ["node", "src/index.js"]
EXPOSE 3000