Try removing unneeded stuff

This commit is contained in:
shamoon
2025-03-28 17:43:35 -07:00
parent cb54b98e62
commit fa8ef87179
+4
View File
@@ -56,6 +56,10 @@ COPY --link --from=builder --chown=1000:1000 /app/.next/standalone ./
COPY --link --from=builder --chown=1000:1000 /app/.next/static/ ./.next/static/
COPY --link --chmod=755 docker-entrypoint.sh /usr/local/bin/
# Remove unnecessary files
RUN rm -rf /app/.next/cache \
&& rm -rf /app/node_modules/.pnpm
RUN apk add --no-cache su-exec
ENV HOSTNAME=0.0.0.0