Skip to content

Commit f03e51b

Browse files
committed
fix: docker image
1 parent d0eaf53 commit f03e51b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
ARG NODE_VERSION=23.5.0
1+
ARG NODE_VERSION=22.7.0
22

33
# Create build stage
44
FROM node:${NODE_VERSION}-slim AS build
55

6-
# Enable and prepare pnpm with a known good version
6+
# Enable pnpm
77
ENV PNPM_HOME="/pnpm"
88
ENV PATH="$PNPM_HOME:$PATH"
9-
RUN corepack prepare pnpm@8.6.0 --activate
9+
RUN corepack enable
10+
RUN corepack prepare pnpm@9.15.2 --activate
1011

1112
# Set the working directory inside the container
1213
WORKDIR /app
@@ -32,4 +33,4 @@ COPY --from=build /app/.output ./
3233
EXPOSE 3000
3334

3435
# Start the application
35-
CMD ["node","/app/server/index.mjs"]
36+
CMD ["node","/app/server/index.mjs"]

0 commit comments

Comments
 (0)