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
85e9e6b2
Commit
85e9e6b2
authored
4 months ago
by
Artem Baranovskyi
Browse files
Options
Download
Email Patches
Plain Diff
Image build is optimized.
parent
8825c466
master
Pipeline
#10749
failed with stages
in 3 minutes and 24 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+1
-1
.gitlab-ci.yml
flask_ml_api/Dockerfile
+5
-7
flask_ml_api/Dockerfile
with
6 additions
and
8 deletions
+6
-8
.gitlab-ci.yml
+
1
-
1
View file @
85e9e6b2
...
@@ -62,4 +62,4 @@ deploy:
...
@@ -62,4 +62,4 @@ deploy:
-
docker pull 22baar1mst/asyst-nlp-grader:latest
-
docker pull 22baar1mst/asyst-nlp-grader:latest
-
docker run -d 22baar1mst/asyst-nlp-grader:latest
-
docker run -d 22baar1mst/asyst-nlp-grader:latest
only
:
only
:
-
master
-
master
\ No newline at end of file
This diff is collapsed.
Click to expand it.
flask_ml_api/Dockerfile
+
5
-
7
View file @
85e9e6b2
FROM
pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime
as
build
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
rustup-init.sh
RUN
curl
--proto
'=https'
--tlsv1
.2
-sSf
https://sh.rustup.rs
-o
/usr/local/bin/
rustup-init.sh
RUN
sh
rustup-init.sh
-y
--default-toolchain
none
RUN
/usr/local/bin/
rustup-init.sh
-y
--default-toolchain
none
RUN
~/.cargo
/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
RUN
/usr/local
/bin/rustup toolchain
install
stable
--profile
minimal
--no-self-update
ENV
PATH="$PATH:$HOME/.cargo/bin"
RUN
/usr/local/bin/rustup
--version
RUN
/usr/local/bin/cargo
--version
RUN
rustup
--version
RUN
cargo
--version
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