From 545ec4ce6b9252ef00f963bd2d36fa751e363f56 Mon Sep 17 00:00:00 2001 From: zhangtao25 Date: Mon, 30 Dec 2024 14:28:25 +0800 Subject: [PATCH] chore: daily development --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..cb77a0f5 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +FROM node:lts + +MAINTAINER wr_zhang25 + +RUN mkdir -p /app +COPY . /app/ +WORKDIR /app + +RUN npm install pnpm -g +RUN pnpm i +RUN pnpm run build + +EXPOSE 8080 +CMD ["node", "packages/canyon-backend/dist/main.js" ]