Skip to content

Commit

Permalink
pipenv --system doesn't seem to do what we want any more
Browse files Browse the repository at this point in the history
also --three doesn't seem to exist as an option
  • Loading branch information
nyctef committed Aug 22, 2024
1 parent 6ca9b23 commit 21e06aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV PIP_NO_CACHE_DIR=1

# only copy pipfile first so that we can cache the pip install step
COPY Pipfile Pipfile.lock /usr/src/app/
RUN pip install pipenv && pipenv install --three --deploy --system --ignore-pipfile
RUN pip install pipenv && pipenv install --deploy --ignore-pipfile

# now copy everything else
COPY . /usr/src/app/
Expand All @@ -17,4 +17,4 @@ RUN echo -n ' | Image built at' `date` >> version.txt

VOLUME /usr/src/app/data

ENTRYPOINT ["python", "/usr/src/app/sweetiebot.py"]
ENTRYPOINT ["pipenv", "run", "python", "/usr/src/app/sweetiebot.py"]

0 comments on commit 21e06aa

Please sign in to comment.