Skip to content

Commit d96588a

Browse files
authored
remove unnecessary supervisor
Never ended up using it.
1 parent cce08b6 commit d96588a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile.fullstack

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ RUN pip config set global.timeout 60 && \
6161
pip install --no-cache-dir -r multi_agents/requirements.txt --upgrade --prefer-binary
6262

6363
########################################################################
64-
# Stage 4: Final image with backend, frontend, and supervisor
64+
# Stage 4: Final image with backend, frontend
6565
########################################################################
6666
FROM backend-builder AS final
6767

6868
WORKDIR /usr/src/app
6969

70-
# Install Node.js and supervisor with retry logic
70+
# Install Node.js with retry logic
7171
RUN apt-get update && \
72-
apt-get install -y curl supervisor && \
72+
apt-get install -y curl && \
7373
curl -fsSL --retry 3 --retry-delay 10 https://deb.nodesource.com/setup_20.x | bash - && \
7474
apt-get install -y nodejs && \
7575
rm -rf /var/lib/apt/lists/*
@@ -97,7 +97,7 @@ COPY --from=frontend-builder /app/frontend/nextjs/package.json ./frontend/nextjs
9797
# Ensure next.config.mjs and other necessary files are present
9898
COPY --from=frontend-builder /app/frontend/nextjs/next.config.mjs ./frontend/nextjs/next.config.mjs
9999

100-
# Create a startup script that generates supervisor config with actual port values
100+
# Start the backend and frontend servers
101101
CMD /bin/bash -c 'cd /usr/src/app; \
102102
(uvicorn main:app --host "$HOST" --port "$PORT") & \
103103
(cd frontend/nextjs && npm run start -- -p "$NEXT_PORT") & \

0 commit comments

Comments
 (0)