diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fde0763 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.10-slim + +WORKDIR /app + +RUN apt-get update && apt-get install -y --no-install-recommends \ + && apt-get clean && rm -rf /var/lib/apt/lists/* + +RUN pip install --no-cache-dir wikimore + +EXPOSE 8109 + +CMD ["wikimore"] \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..fc72d19 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,5 @@ +services: + wikimore-app: + build: . + ports: + - 8109:8109 ## change host port if needed \ No newline at end of file