Fix Dockerfile to copy only main.py to the app directory
This commit is contained in:
parent
0d5f28cebe
commit
2ad0309243
1 changed files with 2 additions and 2 deletions
|
|
@ -10,8 +10,8 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \
|
||||||
uv sync --no-install-project
|
uv sync --no-install-project
|
||||||
|
|
||||||
# Copy the application files
|
# Copy the application file
|
||||||
COPY main.py misc.py /app/
|
COPY main.py /app/
|
||||||
|
|
||||||
# Set the environment variables
|
# Set the environment variables
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue