change docker to use poetry

This commit is contained in:
Levi Blaney
2021-02-28 13:22:12 -05:00
parent 0000718b51
commit b7de368dfd
2 changed files with 1 additions and 3 deletions

View File

@@ -28,6 +28,6 @@ COPY --chown=python:python . .
#RUN INSTALL_ON_LINUX=1 pip install -r requirements.txt
RUN pip install "poetry==1.1.4"
RUN poetry export -f requirements.txt | pip install -r /dev/stdin
RUN poetry export --without-hashes -f requirements.txt | pip install -r /dev/stdin
CMD ["python", "gamestonk_terminal.py"]

View File

@@ -4,5 +4,3 @@ services:
build:
context: .
image: gamestonkterminal:dev
volumes:
- .:/home/python