chore: update api container runtime
This commit is contained in:
1 parent
3357d4c9c8
commit
3a76fd8c88
1 file changed
+2
-2
+2
-2
@@ -31,7 +31,7 @@ COPY apps/web/package.json apps/web/package.json
|
|||||||
|
|
||||||
RUN pnpm install --prod --frozen-lockfile --filter api... --filter lolympus-tournament-support
|
RUN pnpm install --prod --frozen-lockfile --filter api... --filter lolympus-tournament-support
|
||||||
|
|
||||||
FROM gcr.io/distroless/nodejs24-debian13:nonroot AS runtime
|
FROM gcr.io/distroless/nodejs26-debian13:nonroot AS runtime
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
@@ -45,7 +45,7 @@ COPY --chown=nonroot:nonroot apps/api/newrelic.cjs ./apps/api/newrelic.cjs
|
|||||||
COPY --from=build --chown=nonroot:nonroot /app/apps/api/dist ./apps/api/dist
|
COPY --from=build --chown=nonroot:nonroot /app/apps/api/dist ./apps/api/dist
|
||||||
COPY --chown=nonroot:nonroot apps/project.env ./project.env
|
COPY --chown=nonroot:nonroot apps/project.env ./project.env
|
||||||
|
|
||||||
EXPOSE 10712
|
EXPOSE 3000
|
||||||
|
|
||||||
ENV NEW_RELIC_HOME=/app/apps/api \
|
ENV NEW_RELIC_HOME=/app/apps/api \
|
||||||
NEW_RELIC_APP_NAME=lolympus \
|
NEW_RELIC_APP_NAME=lolympus \
|
||||||
|
|||||||
Reference in new issue
Block a user