Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
declearn2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Magnet
DecLearn
declearn2
Commits
7e1e0972
Commit
7e1e0972
authored
1 year ago
by
BIGAUD Nathan
Browse files
Options
Downloads
Patches
Plain Diff
Testing alpine version
parent
89491699
No related branches found
No related tags found
1 merge request
!46
Draft: Docker deploy
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/server_alpine.Dockerfile
+12
-0
12 additions, 0 deletions
docker/server_alpine.Dockerfile
with
12 additions
and
0 deletions
docker/server_alpine.Dockerfile
0 → 100644
+
12
−
0
View file @
7e1e0972
FROM
python:3.9-alpine
# Define workdir
WORKDIR
/experiment
# Set up venv
ENV
VIRTUAL_ENV=/opt/declearn
RUN
python3
-m
venv
$VIRTUAL_ENV
ENV
PATH="$VIRTUAL_ENV/bin:$PATH"
RUN
apk
--no-cache
--update-cache
add bash gcc gfortran build-base wget freetype-dev libpng-dev openblas-dev
# Install declearn
RUN
pip
install
declearn[all]
# Run script
CMD
["bash", "experiment/run.sh"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment