diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6e82e9c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,31 @@ +# Base image +FROM python:3.11-slim + +# Environment vars +ENV PYTHONDONTWRITEBYTECODE=1 \ + PYTHONUNBUFFERED=1 \ + PRODUCTION=true + +# Working directory +WORKDIR /app + +# Install system dependencies +RUN apt-get update && \ + apt-get install -y git && \ + rm -rf /var/lib/apt/lists/* + +# Copy dependency file +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +# Copy entire app +COPY . . + +# Ensure uploads folder exists +RUN mkdir -p uploads + +# Expose the port Flask uses +EXPOSE 5000 + +# Start the app +CMD ["python", "app.py"] diff --git a/README.md b/README.md index b0cc6f4..4933ec4 100644 --- a/README.md +++ b/README.md @@ -253,6 +253,8 @@ PacCrypt/ │ │ └── PacCrypt.png │ │ └── Github_logo.png │ │ └── sitemap.png +│ ├── fonts/ +│ │ └── PressStart2P-Regular.ttf │ └── audio/ │ └── chomp.mp3 ├── start_dev.bat