From e8da7a4cff546c6b9ddf8a3202cb4e3ac241ba6c Mon Sep 17 00:00:00 2001 From: Ali Barour Date: Thu, 13 Feb 2025 00:54:12 +0400 Subject: [PATCH] dockerfile created --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6baf3f3 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node:18-alpine +WORKDIR /app +COPY . . +RUN yarn install --production && yarn cache clean +ENTRYPOINT ["node"] +CMD ["src/index.js"] +EXPOSE 3000