FROM k8s.device.wenhq.top:8583/docker_r/python:3.12-alpine-amd64 WORKDIR /app COPY server/requirements.txt /app/server/requirements.txt RUN pip install --no-cache-dir -r /app/server/requirements.txt COPY server /app/server COPY index.html m.html studio.html box.html orders.html admin.html /app/ COPY assets /app/assets ENV PL_SITE_DIR=/app \ PL_DATA_DIR=/app/data \ PYTHONUNBUFFERED=1 EXPOSE 8080 CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080", "--app-dir", "/app/server"]