You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
375 B

  1. FROM fnndsc/python-poetry
  2. WORKDIR /app/
  3. # plz install everything globally in docker
  4. RUN apt-get update && apt-get install -y build-essential
  5. RUN poetry config virtualenvs.create false
  6. # install our dependencies first
  7. COPY pyproject.toml poetry.lock /app/
  8. RUN poetry install --no-dev
  9. # now copy over everything
  10. COPY . /app/
  11. EXPOSE 5002
  12. ENTRYPOINT ["/app/entrypoint.sh"]