fix(docker): surface backend crash logs in docker logs and print DB target
Build and Deploy / build-and-push (push) Successful in 52s

This commit is contained in:
2026-07-26 15:20:56 +08:00
parent afe7833539
commit 472b956203
4 changed files with 51 additions and 15 deletions
+4 -2
View File
@@ -29,13 +29,15 @@ COPY --from=backend-builder /taskpool /app/taskpool
# Copy nginx config (modified for localhost)
COPY nginx-standalone.conf /etc/nginx/http.d/default.conf
# Copy supervisor config
# Copy supervisor config + backend wrapper (logs go to docker logs)
COPY supervisord.conf /etc/supervisord.conf
COPY docker/start-backend.sh /app/start-backend.sh
# Create data directories and ship example config (used when no volume config)
COPY configs/config.example.ini /app/configs/config.example.ini
RUN mkdir -p /app/data /app/configs /app/envs /app/logs \
&& chmod +x /app/taskpool
&& chmod +x /app/taskpool /app/start-backend.sh \
&& apk add --no-cache wget ca-certificates
WORKDIR /app
EXPOSE 3000 8052