Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Asyst Moodle Plugin
Commits
a9d87f34
Commit
a9d87f34
authored
4 months ago
by
Artem Baranovskyi
Browse files
Options
Download
Email Patches
Plain Diff
Image build is optimized.
parent
f60067a9
Pipeline
#10756
failed with stages
in 8 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flask_ml_api/Dockerfile
+4
-2
flask_ml_api/Dockerfile
with
4 additions
and
2 deletions
+4
-2
flask_ml_api/Dockerfile
+
4
-
2
View file @
a9d87f34
...
@@ -3,9 +3,11 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build
...
@@ -3,9 +3,11 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build
RUN
apt-get update
&&
apt-get
install
-y
curl
RUN
apt-get update
&&
apt-get
install
-y
curl
RUN
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
-o
/usr/local/bin/rustup-init.sh
RUN
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
-o
/usr/local/bin/rustup-init.sh
RUN
chmod
+x /usr/local/bin/rustup-init.sh
RUN
chmod
+x /usr/local/bin/rustup-init.sh
RUN
/usr/local/bin/rustup-init.sh
-y
--default-toolchain
none
RUN
/root/.cargo/bin/rustup
--version
ENV
PATH="$PATH:/root/.cargo/bin"
RUN
/root/.cargo/bin/cargo
--version
RUN
/root/.cargo/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
build-essential python3-venv
&&
\
build-essential python3-venv
&&
\
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets