syng/resources/docker/Dockerfile
Christoph Stahl 8107d47e11
All checks were successful
Check / mypy (push) Successful in 1m4s
Check / ruff (push) Successful in 7s
Updated dependencies and version bump to 2.2.0
2025-07-02 23:12:47 +02:00

10 lines
329 B
Docker

FROM python:3.12-bullseye
RUN useradd -m -d /app syng
USER syng
ENV PATH="/app/.local/bin:${PATH}"
WORKDIR /app/
RUN pip install --user alt-profanity-check
RUN pip install --user "syng[server]@git+https://github.com/christofsteel/syng.git"
RUN touch /app/keys.txt
EXPOSE 8080
ENTRYPOINT ["syng", "server", "-k", "/app/keys.txt"]