Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Pado
Asyst Moodle Plugin
Commits
961941fb
Commit
961941fb
authored
4 months ago
by
Artem Baranovskyi
Browse files
Options
Download
Email Patches
Plain Diff
Image build is optimized.
parent
3a5e04df
Pipeline
#10742
failed with stages
in 3 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flask_ml_api/Dockerfile
+4
-0
flask_ml_api/Dockerfile
with
4 additions
and
0 deletions
+4
-0
flask_ml_api/Dockerfile
+
4
-
0
View file @
961941fb
# Этап сборки
FROM
pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime
as
build
RUN
apt-get update
&&
apt-get
install
-y
curl
...
...
@@ -5,6 +6,9 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh
RUN
sh rustup-init.sh
-y
--default-toolchain
none
RUN
~/.cargo/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
RUN
rustup
--version
RUN
cargo
--version
RUN
apt-get update
&&
apt-get
install
-y
--no-install-recommends
\
build-essential python3-venv
&&
\
apt-get clean
&&
\
...
...
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