FIX: new dockerfile
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 59s
All checks were successful
Gitea Auto Deploy / Deploy-Container (push) Successful in 59s
This commit is contained in:
@@ -1,11 +1,9 @@
|
|||||||
FROM oven/bun:canary-alpine AS base
|
FROM oven/bun:canary-alpine AS base
|
||||||
|
|
||||||
# Install dependencies only when needed
|
|
||||||
FROM base AS deps
|
FROM base AS deps
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
COPY package.json bun.lock ./
|
COPY package.json bun.lock ./
|
||||||
RUN bun install --frozen-lockfile
|
RUN bun install --frozen-lockfile
|
||||||
|
|
||||||
@@ -34,8 +32,6 @@ ENV NEXT_TELEMETRY_DISABLED=1
|
|||||||
RUN adduser --system --uid 1001 nextjs
|
RUN adduser --system --uid 1001 nextjs
|
||||||
|
|
||||||
COPY --from=builder /app/public ./public
|
COPY --from=builder /app/public ./public
|
||||||
|
|
||||||
COPY --from=builder /app/data ./data
|
|
||||||
COPY --from=builder /app/messages ./messages
|
COPY --from=builder /app/messages ./messages
|
||||||
|
|
||||||
# Set the correct permission for prerender cache
|
# Set the correct permission for prerender cache
|
||||||
|
|||||||
Reference in New Issue
Block a user