Skip to content

Commit

Permalink
fix: update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Aug 6, 2024
1 parent 6d872fd commit 500820e
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
FROM python:3.12-slim

# Set working directory
WORKDIR /app

COPY pyproject.toml poetry.lock ./
RUN pip install --no-cache-dir poetry && poetry install --no-dev
# Copy your application code to the container
COPY . /app

COPY . .
# Install dependencies
RUN pip install --upgrade pip \
&& pip install -r requirements.txt

CMD ["poetry", "run", "python", "-m", "chaturbate_poller"]
# Set the entrypoint or default command
CMD ["python", "-m", "chaturbate_poller"]

0 comments on commit 500820e

Please sign in to comment.