Unverified Commit 13e7044a authored by OlivierDehaene's avatar OlivierDehaene Committed by GitHub
Browse files

fix(dockerfile): fix docker build (#32)

parent 5c01e254
......@@ -57,7 +57,7 @@ COPY server/Makefile server/Makefile
RUN cd server && make install-torch
# Install specific version of transformers
RUN cd server && make install-transformers
RUN cd server && BUILD_EXTENSIONS="True" make install-transformers
# Install server
COPY proto proto
......
......@@ -19,7 +19,7 @@ install-transformers:
install-torch:
# Install specific version of torch
pip install torch --extra-index-url https://download.pytorch.org/whl/cu116 --no-cache-dir
pip install torch --extra-index-url https://download.pytorch.org/whl/cu118 --no-cache-dir
install: gen-server install-torch install-transformers
pip install pip --upgrade
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment