🔪🐛 Fix corepack bug, removed unused envs, npm in docker
All checks were successful
Deploy application / deploy (push) Successful in 28s
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:
@ -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"]
|
Reference in New Issue
Block a user