diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c458828 --- /dev/null +++ b/Dockerfile @@ -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"] diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..853dd5e --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +exec python3 ok-server.py "$@"