kios-webapp/Dockerfile
2024-03-11 13:27:55 -03:00

13 lines
225 B
Docker

FROM node:21-alpine3.18
RUN npm i -g pnpm turbo
WORKDIR /app
COPY . .
RUN pnpm install
ENV PAYLOAD_CONFIG_PATH=src/payload.config.ts
ENV PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
RUN pnpm build
CMD ["pnpm", "serve"]