diff --git a/donut-sync/.dockerignore b/donut-sync/.dockerignore new file mode 100644 index 0000000..bd2bd74 --- /dev/null +++ b/donut-sync/.dockerignore @@ -0,0 +1,14 @@ +.env +.env.* +!.env.example +coverage +.nyc_output +.temp +.tmp +.git +*.log +src +test +tsconfig.json +tsconfig.build.json +nest-cli.json diff --git a/donut-sync/Dockerfile b/donut-sync/Dockerfile new file mode 100644 index 0000000..28cf28e --- /dev/null +++ b/donut-sync/Dockerfile @@ -0,0 +1,12 @@ +FROM node:22-alpine + +WORKDIR /app + +COPY package.json . +COPY dist/ dist/ +COPY node_modules/ node_modules/ + +ENV NODE_ENV=production +EXPOSE 12342 + +CMD ["node", "dist/main"]