Attempt at docker building
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
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"]
|
Reference in New Issue
Block a user