Initial commit: Robot ökoszisztéma v2.0 - Stabilizált jármű és szerviz robotok
This commit is contained in:
13
code-server-config/data/User/History/3ae47db8/WFYx
Executable file
13
code-server-config/data/User/History/3ae47db8/WFYx
Executable file
@@ -0,0 +1,13 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Rendszerfüggőségek telepítése
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends gcc python3-dev && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Python csomagok fixálása
|
||||
RUN pip install --no-cache-dir fastapi uvicorn sqlalchemy asyncpg python-dotenv python-multipart "python-jose[cryptography]" "passlib[bcrypt]"
|
||||
|
||||
# Munkakönyvtár beállítása
|
||||
ENV PYTHONPATH=/app
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "/app/app"]
|
||||
Reference in New Issue
Block a user