mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
refactor: optimize Dockerfile for web and space applications by refining COPY commands for static assets
This commit is contained in:
@@ -73,7 +73,7 @@ COPY --from=installer /app/web/package.json .
|
||||
# Automatically leverage output traces to reduce image size
|
||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||
COPY --from=installer /app/web/.next/standalone ./
|
||||
COPY --from=installer /app/web/.next ./web/.next
|
||||
COPY --from=installer /app/web/.next/static ./web/.next/static
|
||||
COPY --from=installer /app/web/public ./web/public
|
||||
|
||||
ARG NEXT_PUBLIC_API_BASE_URL=""
|
||||
@@ -103,4 +103,4 @@ ENV NEXT_PUBLIC_WEB_BASE_URL=$NEXT_PUBLIC_WEB_BASE_URL
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
ENV TURBO_TELEMETRY_DISABLED 1
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3000
|
||||
Reference in New Issue
Block a user