From f7f497b93691b85e570fe720e6b569ab0c2232ad Mon Sep 17 00:00:00 2001 From: aliaminsalah Date: Sat, 19 Oct 2024 15:06:12 +0300 Subject: [PATCH] last change --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..8b965a9 --- /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 \ No newline at end of file