add docker related files

This commit is contained in:
Julian Freeman
2025-06-26 14:49:50 -04:00
parent 7a362f2f25
commit bd0e0393d1
3 changed files with 25 additions and 0 deletions

3
.dockerignore Normal file
View File

@@ -0,0 +1,3 @@
.git
__pycache__
/static/output/*

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM python:3.12-slim
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir --upgrade -r requirements.txt
CMD [ "python", "main.py" ]

13
docker-compose.yaml Normal file
View File

@@ -0,0 +1,13 @@
services:
image-tools:
build: .
container_name: image-tools
restart: unless-stopped
ports:
- 7310:7310
networks:
- default_net
networks:
default_net:
external: true