Add initial project structure with Docker setup and frontend/backend files

This commit is contained in:
2024-10-17 18:57:05 -04:00
parent 86f36c4754
commit 4cce05f7d6
15 changed files with 606 additions and 0 deletions

9
backend/Dockerfile Executable file
View File

@@ -0,0 +1,9 @@
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
ENV DATABASE_URL=postgresql://username:password@db/workout_buddy
ENV JWT_SECRET_KEY=super-secret
EXPOSE 5000
CMD ["python", "app.py"]