Teron mock: Dockerfile, requirements.txt i docker-compose za Docker deploy

This commit is contained in:
2026-06-24 22:03:06 +02:00
parent 550750fe88
commit 1a93fc739d
3 changed files with 17 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM python:3.12-alpine
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY server.py receipt.py ./
CMD ["python", "server.py"]
+2
View File
@@ -0,0 +1,2 @@
qrcode
pillow
+9
View File
@@ -0,0 +1,9 @@
services:
teron-mock:
image: ghcr.io/dalibor31/ntech-fisk:latest
container_name: teron_mock
restart: unless-stopped
ports:
- "4566:4566"
volumes:
- ./fisk-data:/app/data