DiscordEventLog/Dockerfile
SeaswimmerTheFsh e324dac64c
Some checks failed
Linter / Lint (3.11) (push) Failing after 41s
Added an auto-building docker image to the repository
2023-11-25 04:19:50 -05:00

14 lines
329 B
Docker

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