Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
text-generation-inference
Commits
1bb39463
Unverified
Commit
1bb39463
authored
Apr 14, 2023
by
OlivierDehaene
Committed by
GitHub
Apr 14, 2023
Browse files
fix(docker): fix docker image (#184)
parent
01c0e368
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
.github/workflows/build.yaml
.github/workflows/build.yaml
+1
-1
Dockerfile
Dockerfile
+2
-1
No files found.
.github/workflows/build.yaml
View file @
1bb39463
...
@@ -26,7 +26,7 @@ concurrency:
...
@@ -26,7 +26,7 @@ concurrency:
jobs
:
jobs
:
build-and-push-image
:
build-and-push-image
:
runs-on
:
ubuntu-latest
runs-on
:
large-runner
permissions
:
permissions
:
contents
:
write
contents
:
write
packages
:
write
packages
:
write
...
...
Dockerfile
View file @
1bb39463
...
@@ -132,6 +132,7 @@ WORKDIR /usr/src
...
@@ -132,6 +132,7 @@ WORKDIR /usr/src
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
RUN
apt-get update
&&
DEBIAN_FRONTEND
=
noninteractive apt-get
install
-y
--no-install-recommends
\
libssl-dev
\
libssl-dev
\
ca-certificates
\
make
\
make
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
...
@@ -148,7 +149,7 @@ COPY --from=transformers-builder /usr/src/transformers /usr/src/transformers
...
@@ -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
COPY
--from=transformers-builder /usr/src/transformers/build/lib.linux-x86_64-cpython-39/transformers /usr/src/transformers/src/transformers
# Install transformers dependencies
# 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
# Install server
COPY
proto proto
COPY
proto proto
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment