Skip to content
Snippets Groups Projects
Commit 592dc476 authored by Tim Neumann's avatar Tim Neumann
Browse files

Merge branch 'fix/dockerfileInstallPoetry' into 'main'

fix(Dockerfile): Use new correct way to install poetry

See merge request !5
parents 827d8679 6b5d703f
Branches main
No related tags found
1 merge request!5fix(Dockerfile): Use new correct way to install poetry
FROM python:3.8
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python -
RUN pip install --no-cache-dir poetry==1.8.3
RUN mkdir --parents /app/
WORKDIR /app
COPY pyproject.toml poetry.lock README.md /app/
RUN /root/.local/bin/poetry install --no-dev
RUN poetry install --no-dev
COPY stuvus_bot /app/stuvus_bot
EXPOSE 8080
ENV PYTHONUNBUFFERED=1
CMD /root/.local/bin/poetry run stuvus-bot
CMD poetry run stuvus-bot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment