Add Dockerfile and entrypoint script for container setup

This commit is contained in:
slawek committed 2026-03-27 09:27:22 +01:00
1 parent 02555ade28
commit 5ad1e04d0a
2 files changed
+10

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
FROM python:3.14-slim
WORKDIR /app
COPY ./ok-server.py .
COPY ./entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 8000
ENTRYPOINT ["/entrypoint.sh"]
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
exec python3 ok-server.py "$@"