CoolFace
Apppublic

ZashLiu/parallel-reality-api

sourceHugging Faceupdated 11h agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4    PYTHONUNBUFFERED=1 \5    PORT=78606 7WORKDIR /app8 9RUN apt-get update && apt-get install -y --no-install-recommends \10    git \11    && rm -rf /var/lib/apt/lists/*12 13COPY requirements.txt ./14RUN pip install --no-cache-dir -r requirements.txt15 16COPY . .17 18EXPOSE 786019 20CMD ["bash", "-c", "python -m app.backup restore && uvicorn main:app --host 0.0.0.0 --port ${PORT}"]21