Working Docker build 🎉

This commit is contained in:
3wc
2024-03-11 13:25:04 -03:00
parent d84018c787
commit 338224ef6b
5 changed files with 35 additions and 4 deletions

View File

@ -6,6 +6,7 @@ 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"]