fix Dockerfile: copy src/ before pip install
This commit is contained in:
+1
-2
@@ -3,9 +3,8 @@ FROM python:3.12-slim
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY pyproject.toml .
|
COPY pyproject.toml .
|
||||||
RUN pip install --no-cache-dir .
|
|
||||||
|
|
||||||
COPY src/ src/
|
COPY src/ src/
|
||||||
|
RUN pip install --no-cache-dir .
|
||||||
|
|
||||||
ENV AYON_TRANSPORT=http
|
ENV AYON_TRANSPORT=http
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
|||||||
Reference in New Issue
Block a user