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
18 lines
375 B
FROM fnndsc/python-poetry
|
|
|
|
WORKDIR /app/
|
|
|
|
# plz install everything globally in docker
|
|
RUN apt-get update && apt-get install -y build-essential
|
|
RUN poetry config virtualenvs.create false
|
|
|
|
# install our dependencies first
|
|
COPY pyproject.toml poetry.lock /app/
|
|
|
|
RUN poetry install --no-dev
|
|
|
|
# now copy over everything
|
|
COPY . /app/
|
|
|
|
EXPOSE 5002
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|