Docker added

docker compose up -d
This commit is contained in:
Alexey Olendor
2025-12-24 02:53:15 +03:00
committed by GitHub
parent 96d1398136
commit 9178842251
2 changed files with 24 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
services:
reVCDOS:
hostname: reVCDOS
build:
context: .
dockerfile: docker/Dockerfile
ports:
- "${OUT_HOST-0.0.0.0}:${OUT_PORT-8000}:${IN_PORT-8000}"
volumes:
- .:/app
networks:
- default
command:
- python
- server.py
restart: unless-stopped
+8
View File
@@ -0,0 +1,8 @@
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt ./requirements.txt
RUN pip install --no-cache-dir -r requirements.txt
ENV PYTHONUNBUFFERED=1