DiscordEventLog/Dockerfile
SeaswimmerTheFsh 159b758e0e
Some checks failed
Docker Build / Build (push) Failing after 5s
Linter / Lint (3.11) (push) Failing after 40s
updated the docker build workflow
2023-11-25 04:25:54 -05:00

15 lines
355 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
COPY README.md /README.md
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