This commit is contained in:
Emily
2024-06-25 00:52:12 +02:00
parent 1414451d2b
commit f369880ba7
5 changed files with 37 additions and 7 deletions

7
producer/Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM node:21-alpine
WORKDIR /home/app
COPY package.json pnpm-lock.yaml ./
RUN npm install -g pnpm && pnpm install --prod --frozen-lockfile
COPY ./dist /home/app/dist
EXPOSE ${PORT}
CMD ["node", "dist/producer/src/index.js"]