🍦 Soft Serve Frontend

Browse your Git repositories

Dockerfile

FROM python:3.11-slim

WORKDIR /app

# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Copy application code
COPY app.py .
COPY templates/ templates/

# Create data directory for persistent storage
RUN mkdir -p /data

# Expose port
EXPOSE 5000

# Set environment variable
ENV NOTES_FILE=/data/notes.json

# Run the application
CMD ["python", "app.py"]