solidityguard-openenv / Dockerfile
tanaymitra98
Fix multi-mode deployment structure: move app.py to server, add uv.lock and entry point
9af28b4
Raw
History Blame Contribute Delete
261 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY . /app
ENV PYTHONUNBUFFERED=1
EXPOSE 7860
CMD ["uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]