mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-24 21:01:26 -04:00
21 lines
513 B
Docker
21 lines
513 B
Docker
FROM python:3.10-slim
|
|
|
|
EXPOSE 8002
|
|
EXPOSE 8003
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy source code
|
|
COPY . .
|
|
|
|
# Install libraries for necessary python package builds
|
|
RUN apt-get clean && apt-get update \
|
|
&& apt-get --no-install-recommends install build-essential python3-dev libpq-dev curl -y \
|
|
&& pip install --no-cache-dir --upgrade pip \
|
|
&& apt-get -yq update && apt-get -yqq install ssh \
|
|
&& apt-get clean \
|
|
&& pip install -r requirements.txt
|
|
|
|
# Run the deploy.py script
|
|
ENTRYPOINT ["python", "./deploy.py"]
|