This commit is contained in:
Nyx 2025-03-31 01:34:20 -05:00
parent 0806235f2f
commit 9928e63a62
4 changed files with 19 additions and 0 deletions

7
Dockerfile Normal file
View file

@ -0,0 +1,7 @@
FROM python:3-alpine
WORKDIR /site
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD ["waitress-serve", "--port=8000", "app.app"]

9
compose.yml Normal file
View file

@ -0,0 +1,9 @@
services:
utils:
build:
dockerfile: Dockerfile
ports:
- "8041:8000" # Will listen on port 65193, change that number to change the port
restart: unless-stopped
volumes:
- ./site:/site

3
requirements.txt Normal file
View file

@ -0,0 +1,3 @@
requests
flask
waitress

Binary file not shown.