demo with sdk and backend
This commit is contained in:
15
demo-app/Dockerfile
Normal file
15
demo-app/Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
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"]
|
||||
Reference in New Issue
Block a user