Add base kubernetes support final fix 2
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Add this stage at the top of each service Dockerfile
|
||||
FROM python:3.11-slim as shared
|
||||
FROM python:3.11-slim AS shared
|
||||
WORKDIR /shared
|
||||
COPY shared/ /shared/
|
||||
|
||||
@@ -27,7 +27,7 @@ COPY --from=shared /shared /app/shared
|
||||
COPY services/training/ .
|
||||
|
||||
# Add shared libraries to Python path
|
||||
ENV PYTHONPATH="/app:/app/shared:$PYTHONPATH"
|
||||
ENV PYTHONPATH="/app:/app/shared:${PYTHONPATH:-}"
|
||||
|
||||
# Expose port
|
||||
EXPOSE 8000
|
||||
|
||||
Reference in New Issue
Block a user