kios-webapp/Dockerfile

12 lines
173 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
RUN pnpm build
CMD ["pnpm", "serve"]