Skip to content

Commit

Permalink
Set the route path manually in uvicorn call
Browse files Browse the repository at this point in the history
  • Loading branch information
kbevers committed Feb 14, 2024
1 parent fc5cb1c commit e0f9245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ RUN conda run -n webproj python -m pip install --no-deps .
RUN conda run -n webproj pyproj sync --source-id dk_sdfe --target-dir $WEBPROJ_LIB
RUN conda run -n webproj pyproj sync --source-id dk_sdfi --target-dir $WEBPROJ_LIB

CMD ["conda", "run", "-n", "webproj", "uvicorn", "--proxy-headers", "app.main:app", "--host", "0.0.0.0", "--port", "80"]
CMD ["conda", "run", "-n", "webproj", "uvicorn", "--proxy-headers", "app.main:app", "--host", "0.0.0.0", "--port", "80", "--route_path", "rest/webproj_test/" ]

EXPOSE 80

0 comments on commit e0f9245

Please sign in to comment.