🔪🐛 Fix corepack bug, removed unused envs, npm in docker
All checks were successful
Deploy application / deploy (push) Successful in 28s

- Replaced pnpm to npm in docker container because of a bug infestation
- Remove only allow pnpm
- Added missing envs to docker compose
This commit is contained in:
2025-02-05 19:22:53 +01:00
parent 75ad4946d2
commit 066331cca8
5 changed files with 7 additions and 14 deletions

View File

@ -3,9 +3,6 @@ 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
RUN --mount=type=cache,id=npm,target=/store npm install --omit=dev --frozen-lockfile
CMD ["pnpm", "start-prod"]
ENTRYPOINT ["npm", "run", "start-prod"]