Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated dependencies, fix dockerfile consistency warning #252

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20 as builder
FROM node:20 AS builder

COPY ./ /build/

Expand All @@ -13,7 +13,7 @@ RUN --mount=type=cache,target=/root/.npm/_cacache/ \
pnpm install --frozen-lockfile && \
pnpm run build

FROM node:20-alpine as production
FROM node:20-alpine AS production

WORKDIR /app
ARG GIT_SHA
Expand All @@ -22,7 +22,7 @@ ENV NITRO_HOST=0.0.0.0
ENV NITRO_PORT=4000

RUN --mount=type=cache,target=/root/.npm/_cacache/ \
npm install -g pm2@5.3.1
npm install -g pm2@5.4.2

COPY --from=builder /build/.output ./.output/
COPY --from=builder /build/ecosystem.config.cjs ./
Expand Down
Loading