Install additional packages in docker (#46)

This commit is contained in:
Sterling Dreyer 2024-09-19 12:46:50 -07:00 committed by GitHub
parent 6911a5982b
commit 447058f0ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \
WORKDIR /app
RUN pip install build
RUN pip install build poetry
# Copy the parent directory contents into the container
COPY . .
@ -34,7 +34,11 @@ WORKDIR /app/arcade
RUN python -m build
# Build the project and install the wheel with extras
RUN python -m pip install dist/arcade_ai-0.1.0-py3-none-any.whl[fastapi,dev] uvicorn
RUN poetry export --with fastapi,dev,evals --output requirements.txt
# This doesnt install the optional packages for some reason
RUN python -m pip install dist/arcade_ai-0.1.0-py3-none-any.whl[fastapi,dev,evals] uvicorn
RUN python -m pip install -r requirements.txt
WORKDIR /app/toolkits