Skip to content

Commit c30cfde

Browse files
committed
Merge branch 'feature/ui-ux-refresh' of https://github.com/microsoft/Multi-Agent-Custom-Automation-Engine-Solution-Accelerator into feature/ui-ux-refresh
2 parents 41f8abd + fec9e01 commit c30cfde

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/frontend_react/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy
2929
WORKDIR /app
3030

3131
# Copy Python project definition files
32-
COPY pyproject.toml uv.lock* ./
32+
COPY pyproject.toml requirements.txt* uv.lock* ./
3333

3434
# Install Python dependencies using UV
3535
RUN --mount=type=cache,target=/root/.cache/uv \
@@ -65,7 +65,7 @@ COPY --from=python-builder /usr/local/lib/python3.11/site-packages /usr/local/li
6565
COPY --from=python-builder /usr/local/bin /usr/local/bin
6666

6767
# Copy React build artifacts
68-
COPY --from=frontend-builder --chown=appuser:appuser /app/frontend/build /app/static
68+
COPY --from=frontend-builder --chown=appuser:appuser /app/frontend/build /app/build
6969

7070
# Copy Python application code
7171
COPY --chown=appuser:appuser ./*.py /app/
@@ -83,7 +83,5 @@ EXPOSE 3000
8383
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
8484
CMD curl -f http://localhost:3000/health || exit 1
8585

86-
RUN touch "log_config.json"
87-
8886
# Run the application with uvicorn
89-
CMD ["/usr/local/bin/uvicorn", "frontend_server:app", "--host", "0.0.0.0", "--port", "3000", "--log-config", "log_config.json"]
87+
CMD ["/usr/local/bin/uvicorn", "frontend_server:app", "--host", "0.0.0.0", "--port", "3000"]

0 commit comments

Comments
 (0)