Include the shared common package in the gateway image.
Uvicorn failed on import of common.request_logging because the Dockerfile only copied gateway/.
This commit is contained in:
@@ -10,6 +10,7 @@ COPY gateway/requirements.txt /app/requirements.txt
|
|||||||
RUN pip install --no-cache-dir -r /app/requirements.txt
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
||||||
|
|
||||||
COPY gateway /app
|
COPY gateway /app
|
||||||
|
COPY common /app/common
|
||||||
|
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user