Open Anonym0us33 opened 1 year ago
Hi @Anonym0us33!
The COPY instruction copies files or directories from <src>
to the filesystem of the container at <dest>
. And you cannot copy files outside the build context when building a docker image.
Therefore, you should first change your working directory to D:\basaran\models\
and then use a Dockerfile like this:
FROM hyperonym/basaran:0.15.3
# Copy model files
COPY vicuna128 /models/vicuna128
# Provide default environment variables
ENV MODEL="/models/vicuna128"
ENV MODEL_LOCAL_FILES_ONLY="true"
ENV MODEL_HALF_PRECISION="true"
ENV SERVER_MODEL_NAME="vicuna128"
in windows replacing private.dockerfile with:
and doing
docker build deployments\bundle\private.dockerfile
gives a location error because it can't find the model under models/vicuna so i tried running:it runs normally and seems to default to a model called bigscience/bloomz-560m which runs on http://127.0.0.1/ is there any way to swap models after running the docker file?? or any way you could post the output of your terminal when running a private docker file in this way?
im not new to docker, but im also unemployed so have no one to ask about this.