look, sometimes you just gotta...
This commit is contained in:
@@ -24,10 +24,9 @@ ENV PORT=3050
|
|||||||
RUN addgroup --system --gid 1001 app && \
|
RUN addgroup --system --gid 1001 app && \
|
||||||
adduser --system --uid 1001 app
|
adduser --system --uid 1001 app
|
||||||
|
|
||||||
COPY --from=build /app/public ./.next
|
COPY --from=build /app/public ./public
|
||||||
COPY --from=build --chown=app:app /app/.next/standalone ./
|
COPY --from=build --chown=app:app /app/.next/standalone ./
|
||||||
COPY --from=build --chown=app:app /app/.next/static ./.next/static
|
COPY --from=build --chown=app:app /app/.next/static ./.next/static
|
||||||
COPY --from=build --chown=app:app /app/next.config.ts ./
|
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
EXPOSE 3050
|
EXPOSE 3050
|
||||||
|
|||||||
Reference in New Issue
Block a user