Dockerfiles flyttet til repo rod: Dockerfile_backend + Dockerfile_nginx
- Dockerfiles nu i repo roden så Portainer kan bygge direkte fra Gitea URL - COPY paths opdateret til at inkludere subdirectory (backend/, nginx/) - docker-compose.yml build paths opdateret - README build-kommandoer + Portainer guide + projektstruktur opdateret
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY backend/requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY backend/app/ ./app/
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--proxy-headers"]
|
||||
Reference in New Issue
Block a user