From 8da480329b72ef33fe5d27ff986e115b3324d963 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Mon, 29 Jul 2024 16:52:47 -0400 Subject: [PATCH] dockerfile testing time --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..ef857b4 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:lts-alpine3.17 +WORKDIR /usr/src/app +COPY ["package.json", "pnpm-lock.yaml", "dist/*", "./"] +RUN pnpm i +EXPOSE 4321 +RUN chown -R node /usr/src/app +USER node +CMD ["pnpm", "start"]