diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..86da4e7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM python:3.11 +WORKDIR /app + +COPY . . +RUN pip install . + +CMD python3 -m uvicorn lemmyprivacycheck.__main__:app --host 0.0.0.0:8868 +# CMD python3 -m gunicorn -w 4 -b 0.0.0.0 -k uvicorn.workers.UvicornWorker backend.main:app --reload diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5a6b3d5 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + backend: + build: . + ports: + - "8868:8868"