Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
KNIGHT
Asyst Moodle Plugin
Commits
764df175
Commit
764df175
authored
Dec 31, 2024
by
Artem Baranovskyi
Browse files
Image build is optimized.
parent
22846c84
Pipeline
#10605
failed with stage
in 1 minute and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
flask_ml_api/Dockerfile
View file @
764df175
...
...
@@ -15,6 +15,7 @@ WORKDIR /app
COPY
. /app
# Install dependencies in separate steps to reduce memory usage
RUN
apk add
--no-cache
gcompat
RUN
/opt/myenv/bin/pip
install
torch
&&
\
rm
-rf
/root/.cache/pip
\
RUN /opt/myenv/bin/pip
install
Flask
&&
\
...
...
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