kios-webapp/Dockerfile

13 lines
225 B
Docker
Raw Normal View History

2024-03-08 16:06:23 +00:00
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
2024-03-11 16:25:04 +00:00
ENV PAYLOAD_PUBLIC_SERVER_URL=http://localhost:3000
2024-03-08 16:06:23 +00:00
RUN pnpm build
CMD ["pnpm", "serve"]