Fix container startup with mounted config

This commit is contained in:
troogs
2026-10-01 18:56:45 +02:00
parent ea17db45a6
commit 4ff605891c
4 changed files with 12 additions and 10 deletions
+2 -3
View File
@@ -18,11 +18,10 @@ WORKDIR /app
# Copy binary and static front-end assets
COPY --from=builder /app/server /app/server
COPY --from=builder /app/public /app/public
COPY --from=builder /app/config /app/config.default
COPY start.sh /app/start.sh
RUN chmod +x /app/start.sh
RUN mkdir -p /app/config && chmod +x /app/start.sh
EXPOSE 8080
ENTRYPOINT ["/app/start.sh"]
ENTRYPOINT ["/bin/sh", "/app/start.sh"]