Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
LabelsTower
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
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
MaitresNageurs
README
LabelsTower
Commits
a37f3c09
Commit
a37f3c09
authored
4 years ago
by
erichard
Browse files
Options
Downloads
Patches
Plain Diff
refactor Dockerfiles
parent
1a6a1c15
No related branches found
No related tags found
1 merge request
!61
Packager labelstower
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docker/Dockerfile_externals
+2
-8
2 additions, 8 deletions
docker/Dockerfile_externals
docker/Dockerfile_latest
+6
-11
6 additions, 11 deletions
docker/Dockerfile_latest
with
8 additions
and
19 deletions
docker/Dockerfile_externals
+
2
−
8
View file @
a37f3c09
...
...
@@ -23,16 +23,10 @@ RUN pip3 install --trusted-host pypi.python.org -r requirements.txt
EXPOSE 5000
ENV FLASK_APP=demo_
blog
ENV FLASK_APP=demo_
flask
ENV FLASK_ENV=development
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV APP_SETTINGS="demo_blog.config.DevelopmentConfig"
ENV APP_MAIL_SERVER="lalrelay.in2p3.fr"
ENV APP_MAIL_USERNAME="coding-pool-smtp@lal.in2p3.fr"
ENV APP_MAIL_PASSWORD="C0dingP00l"
ENV CODEGUARDS_ENV='demo_blog.config.DevelopmentConfig'
ENV LABELSTOWER_ENV="app.config.ConfigCodingPool"
This diff is collapsed.
Click to expand it.
docker/Dockerfile_latest
+
6
−
11
View file @
a37f3c09
# Version DEMO
FROM
codeguards
:dev
FROM
labelstower
:dev
# Ensure use of bash
SHELL ["/bin/bash","-c"]
# Install
codeguards
# Install
labelstower
RUN pip3 install --upgrade pip setuptools wheel
COPY
codeguards
-latest-py3-none-any.whl
codeguards
-latest-py3-none-any.whl
RUN pip3 install
codeguards
-latest-py3-none-any.whl
COPY
labelstower
-latest-py3-none-any.whl
labelstower
-latest-py3-none-any.whl
RUN pip3 install
labelstower
-latest-py3-none-any.whl
# Run flask
EXPOSE 5000
ENV FLASK_APP=demo
ENV FLASK_APP=demo
_flask
ENV FLASK_ENV=development
ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8
ENV APP_SETTINGS="demo_blog.config.DevelopmentConfig"
ENV APP_MAIL_SERVER="lalrelay.in2p3.fr"
ENV APP_MAIL_USERNAME="coding-pool-smtp@lal.in2p3.fr"
ENV APP_MAIL_PASSWORD="C0dingP00l"
ENV CODEGUARDS_ENV='test.demo.config.DevelopmentConfig'
ENV LABELSTOWER_ENV="app.config.ConfigCodingPool"
CMD [ "flask", "run", "--reload", "--host", "0.0.0.0" ]
\ No newline at end of file
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