2 Commits
docker ... dev

Author SHA1 Message Date
fad23c6e57 Merge pull request 'Donation base URL fix' (#2) from main into dev
Reviewed-on: #2
2025-12-18 11:04:08 +00:00
3bcc69f3a2 Merge pull request '- Profile Picture\' (#1) from main into dev
Reviewed-on: #1
2025-12-18 10:30:00 +00:00
4 changed files with 0 additions and 35 deletions

View File

@@ -1,20 +0,0 @@
# Use an official Python image (Linux)
FROM python:3.12-slim
# Set a working directory
WORKDIR /app
# Copy dependency list
COPY requirements.txt .
# Install dependencies
RUN pip3 install -r requirements.txt
# Copy the rest of the project
COPY . .
# Expose port (whatever your backend runs on)
EXPOSE 8000
# Run exactly your command
CMD ["python", "-m", "uvicorn", "server:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]

Binary file not shown.

Binary file not shown.

View File

@@ -1,15 +0,0 @@
version: "3.9"
services:
backend:
build:
context: .
dockerfile: Dockerfile # Use Dockerfile.prod for production
ports:
- "8000:8000"
env_file:
- .env
environment:
DATABASE_URL: "{DATABASE_URL}"
volumes:
- .:/app # sync code for hot reload