Skip to content

Commit

Permalink
fix(ci): Revert to node 18 to fix admin panel not working (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira authored Sep 7, 2024
1 parent 373b660 commit eacacc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Cache package.json
FROM node:22-bookworm-slim AS deps
FROM node:18-bookworm-slim AS deps

WORKDIR /tmp

COPY package.json ./

# Build
FROM node:22-bookworm-slim AS builder
FROM node:18-bookworm-slim AS builder

ENV PNPM_HOME="/root/.local/share/pnpm"
ENV PATH="${PATH}:${PNPM_HOME}"
Expand Down Expand Up @@ -39,7 +39,7 @@ RUN --mount=type=secret,id=DATABASE_URL,target=/run/secrets/DATABASE_URL \
pnpm run build

# Final deployment image
FROM node:22-bookworm-slim AS runner
FROM node:18-bookworm-slim AS runner

ENV PNPM_HOME="/root/.local/share/pnpm"
ENV PATH="${PATH}:${PNPM_HOME}"
Expand Down

0 comments on commit eacacc6

Please sign in to comment.