16 lines
372 B
Docker
16 lines
372 B
Docker
FROM docker.1ms.run/python:3.12-slim
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1 \
|
|
PYTHONUNBUFFERED=1
|
|
|
|
WORKDIR /app
|
|
|
|
COPY starry-sdk /app/starry-sdk
|
|
COPY demo-app/requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt && \
|
|
pip install --no-cache-dir -e /app/starry-sdk
|
|
|
|
COPY demo-app/main.py /app/main.py
|
|
|
|
CMD ["python", "/app/main.py"]
|