Final Dockerfile fix

This commit is contained in:
2026-02-22 21:17:19 +01:00 Verified
parent bd4fd20ec0
commit 76c498517f
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -9,8 +9,7 @@ WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
WORKDIR /app/backend
COPY ./app ./app
RUN mkdir -p /app/data
EXPOSE $PORT
+2 -2
View File
@@ -3,8 +3,8 @@ from contextlib import asynccontextmanager
from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from database import Base, engine
from routes import auth, tournaments, websocket
from .database import Base, engine
from .routes import auth, tournaments, websocket
@asynccontextmanager