mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-02-06 14:42:40 +00:00
chore: fix Dockerfile paths for copying built assets from builder stage
This commit is contained in:
@@ -18,8 +18,8 @@ ENV NODE_ENV=production
|
|||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
|
|
||||||
COPY --chown=nonroot:nonroot ./public ./public
|
COPY --chown=nonroot:nonroot ./public ./public
|
||||||
COPY --from=builder --chown=nonroot:nonroot /complete/standalone ./
|
COPY --from=builder --chown=nonroot:nonroot /src/.next/standalone ./
|
||||||
COPY --from=builder --chown=nonroot:nonroot /complete/static ./.next/static
|
COPY --from=builder --chown=nonroot:nonroot /src/.next/static ./.next/static
|
||||||
|
|
||||||
USER nonroot
|
USER nonroot
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|||||||
Reference in New Issue
Block a user