This commit is contained in:
Constantin
2025-09-12 23:04:52 +03:00
commit 2277b11563
127 changed files with 23640 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
FROM python:3.11-slim
WORKDIR /app/api
# Install system dependencies
RUN apt-get update && apt-get install -y \
wireguard-tools \
iptables \
curl \
&& rm -rf /var/lib/apt/lists/*
# Copy requirements first for better caching
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all application code into /app/api
COPY . .
# Create necessary directories
RUN mkdir -p /app/data /app/config
# Expose port
EXPOSE 3000
# Run the application
CMD ["python", "app.py"]