creating dockerfile

This commit is contained in:
Rupal27
2022-12-05 23:46:26 +05:30
committed by GitHub
parent b4d6426abc
commit 9988ba98b3

6
app/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