Initial commit

This commit is contained in:
iulian 2025-12-26 00:52:56 +00:00
commit 983cee0320
322 changed files with 57174 additions and 0 deletions

26
backup/fina-2/Dockerfile Normal file
View file

@ -0,0 +1,26 @@
FROM python:3.11-slim
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y \
gcc \
&& 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 application code
COPY app/ ./app/
COPY run.py .
# Create necessary directories with proper permissions
RUN mkdir -p data uploads instance && \
chmod 755 data uploads instance
# Expose port
EXPOSE 5103
# Run the application
CMD ["python", "run.py"]