DiscordEventLog/Dockerfile
SeaswimmerTheFsh 3e3d5fff70
Some checks failed
Docker Build / Build (push) Failing after 4m16s
Linter / Lint (3.11) (push) Failing after 2m47s
migrate to json5
2024-02-16 23:02:42 -05:00

17 lines
404 B
Docker

FROM python:3.11.0-alpine
COPY src /src
COPY example.config.json5 /config.json5
COPY pyproject.toml /pyproject.toml
COPY poetry.lock /poetry.lock
COPY README.md /README.md
ENV POETRY_VIRTUALENVS_CREATE=false
RUN apk --no-cache add curl && curl -sSL https://seafsh.cc/go/poetry | python - && \
cd /src && \
/root/.local/bin/poetry install --no-root
CMD ["python", "/src/main.py"]
EXPOSE 8080