Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gregdenay authored Jun 11, 2024
1 parent 9839dca commit b314859
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ COPY requirements.txt ./
RUN python3 -m venv .venv
RUN . .venv/bin/activate

ENV PYTHONPATH ".venv/bin/python"

RUN python3 -m pip install --no-cache-dir -r requirements.txt
RUN .venv/bin/python3 -m pip install --no-cache-dir -r requirements.txt

COPY . .

RUN python3 -m pip install . -vv --no-deps --no-build-isolation
RUN .venv/bin/python3 -m pip install . -vv --no-deps --no-build-isolation

CMD ["python3"]
CMD [".venv/bin/python3"]

0 comments on commit b314859

Please sign in to comment.