Skip to content

Commit

Permalink
fix: update docker file paths to avoid conflicting volume mounts
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansehgal99 committed Nov 1, 2023
1 parent 86ff9e0 commit ca788a4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/presets/falcon/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ RUN pip install --no-cache-dir -r requirements.txt
ARG FALCON_MODEL_NAME

# Copy the entire model to the weights directory
COPY /home/falcon/${FALCON_MODEL_NAME} /workspace/falcon/weights
COPY /falcon/${FALCON_MODEL_NAME} /workspace/falcon/weights
# Copy the entire 'presets/falcon' folder to the working directory
COPY /home/presets/falcon /workspace/falcon
2 changes: 1 addition & 1 deletion docker/presets/llama-2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ RUN pip install 'uvicorn[standard]'
ARG LLAMA_VERSION
ARG SRC_DIR

ADD /home/llama/${LLAMA_VERSION} /workspace/llama/llama-2/weights
ADD /llama/${LLAMA_VERSION} /workspace/llama/llama-2/weights
ADD ${SRC_DIR} /workspace/llama/llama-2

0 comments on commit ca788a4

Please sign in to comment.