Add Dockerfile
This commit is contained in:
parent
a60cc1922d
commit
18322412c2
1 changed files with 9 additions and 0 deletions
9
resources/docker/Dockerfile
Normal file
9
resources/docker/Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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 "syng[server]@git+https://github.com/christofsteel/syng.git"
|
||||
RUN touch /app/keys.txt
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["syng", "server", "-k", "/app/keys.txt"]
|
Loading…
Add table
Reference in a new issue