fix(docker): start backend with 'taskpool server' under supervisord
Build and Deploy / build-and-push (push) Successful in 52s

This commit is contained in:
2026-07-26 14:49:15 +08:00
parent 24e809557e
commit 3b77837323
3 changed files with 14 additions and 15 deletions
+5 -2
View File
@@ -32,9 +32,12 @@ COPY nginx-standalone.conf /etc/nginx/http.d/default.conf
# Copy supervisor config
COPY supervisord.conf /etc/supervisord.conf
# Create data directories
RUN mkdir -p /app/data /app/configs /app/envs /app/logs
# 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
WORKDIR /app
EXPOSE 3000 8052
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisord.conf"]