Unverified Commit 1bb39463 authored by OlivierDehaene's avatar OlivierDehaene Committed by GitHub
Browse files

fix(docker): fix docker image (#184)

parent 01c0e368
......@@ -26,7 +26,7 @@ concurrency:
jobs:
build-and-push-image:
runs-on: ubuntu-latest
runs-on: large-runner
permissions:
contents: write
packages: write
......
......@@ -132,6 +132,7 @@ WORKDIR /usr/src
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
libssl-dev \
ca-certificates \
make \
&& rm -rf /var/lib/apt/lists/*
......@@ -148,7 +149,7 @@ COPY --from=transformers-builder /usr/src/transformers /usr/src/transformers
COPY --from=transformers-builder /usr/src/transformers/build/lib.linux-x86_64-cpython-39/transformers /usr/src/transformers/src/transformers
# Install transformers dependencies
RUN cd /usr/src/transformers && pip install -e . --no-cache-dir
RUN cd /usr/src/transformers && pip install -e . --no-cache-dir && pip install einops --no-cache-dir
# Install server
COPY proto proto
......
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