FROM python:3.12 RUN useradd -m -u 1000 user USER user ENV PATH="/home/user/.local/bin:$PATH" WORKDIR /code COPY . . RUN unzip -o app.zip RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt EXPOSE 7860 CMD ["python", "start_server.py"]