We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcf169 commit 55e042bCopy full SHA for 55e042b
Dockerfile
@@ -1,6 +1,7 @@
1
FROM python:3.10-slim
2
COPY --from=ghcr.io/astral-sh/uv:0.8.19 /uv /uvx /bin/
3
-WORKDIR /app
+
4
+WORKDIR /bot
5
6
# Enable bytecode compilation
7
ENV UV_COMPILE_BYTECODE=1
@@ -27,12 +28,12 @@ RUN --mount=type=cache,target=/root/.cache/uv \
27
28
29
# Then, add the rest of the project source code and install it
30
# Installing separately from its dependencies allows optimal layer caching
-COPY . /app
31
+COPY . /bot
32
RUN --mount=type=cache,target=/root/.cache/uv \
33
uv sync --locked --no-dev
34
35
# Place executables in the environment at the front of the path
-ENV PATH="/app/.venv/bin:$PATH"
36
+ENV PATH="/bot/.venv/bin:$PATH"
37
38
39
ENTRYPOINT ["python3", "-m", "monty"]
0 commit comments