🐋 Docker and Gitea Workflow
All checks were successful
Deploy application / deploy (push) Successful in 19s
All checks were successful
Deploy application / deploy (push) Successful in 19s
- Moved tsx to dependencies as node TS support is 💩
- Renamed start-once to run-once
- TODOs
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM node:22-slim
|
||||
LABEL authors="Martin Berg Alstad"
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-lockfile
|
||||
|
||||
CMD ["pnpm", "start-prod"]
|
Reference in New Issue
Block a user