fix(docker): surface backend crash logs in docker logs and print DB target
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user