Skip to content

Commit

Permalink
fix: update Dockerfile build command
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Sep 26, 2024
1 parent 31873e6 commit f3faf6c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ WORKDIR /app
COPY --from=dependencies /app/.venv .venv

# Copy necessary project files
COPY README.md pyproject.toml docker-entrypoint.sh ./
COPY src/ src/
COPY docker-entrypoint.sh ./

# Install project dependencies and ensure entrypoint script is executable
RUN --mount=from=ghcr.io/astral-sh/uv:latest@sha256:60b38e00ed04730baa97f6348074351ef3ed654778c9a63022c3c7075844fc0e,source=/uv,target=/bin/uv \
uv pip install . --no-cache \
uv pip install chaturbate-poller --no-cache \
&& chmod +x ./docker-entrypoint.sh

# Set the default entrypoint
Expand Down

0 comments on commit f3faf6c

Please sign in to comment.