fix(docker): start backend with 'taskpool server' under supervisord
Build and Deploy / build-and-push (push) Successful in 52s
Build and Deploy / build-and-push (push) Successful in 52s
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user