Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
feedback-loop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
ai3
tools
feedback-loop
Commits
2c297409
Commit
2c297409
authored
1 year ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
Run everything in a virtualenv
parent
a18f2cf9
No related branches found
No related tags found
No related merge requests found
Pipeline
#66855
passed
1 year ago
Stage: build
Stage: release
Changes
2
Pipelines
3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+1
-3
1 addition, 3 deletions
Dockerfile
feedbackloop.sh
+1
-1
1 addition, 1 deletion
feedbackloop.sh
with
2 additions
and
4 deletions
Dockerfile
+
1
−
3
View file @
2c297409
...
...
@@ -3,7 +3,6 @@ ADD . /src
WORKDIR
/src
RUN
apt-get
-q
update
&&
\
env
DEBIAN_FRONTEND
=
noninteractive apt-get
-qy
install
--no-install-recommends
\
python3-flask python3-sqlalchemy python3-flask-sqlalchemy python3-cheroot
\
python3-setuptools python3-pip
&&
\
apt-get clean
&&
\
rm
-fr
/var/lib/apt/lists/
*
&&
\
...
...
@@ -12,12 +11,11 @@ RUN apt-get -q update && \
FROM
registry.git.autistici.org/ai3/docker/s6-overlay-lite:master
COPY
--from=build /src/dist/*.whl /tmp/wheels/
COPY
conf/ /etc/
COPY
feedbackloop.sh /usr/local/bin/feedbackloop
RUN
apt-get
-q
update
&&
\
env
DEBIAN_FRONTEND
=
noninteractive apt-get
-qy
install
--no-install-recommends
\
python3-flask python3-sqlalchemy python3-flask-sqlalchemy python3-cheroot
\
python3-setuptools python3-pip python3-virtualenv
&&
\
apt-get clean
&&
\
rm
-fr
/var/lib/apt/lists/
*
&&
\
virtualenv /virtualenv
&&
\
cd
/tmp/wheels
&&
/virtualenv/bin/pip3
install
*
.whl
&&
rm
-fr
/tmp/wheels
COPY
feedbackloop.sh /virtualenv/bin/feedbackloop
This diff is collapsed.
Click to expand it.
feedbackloop.sh
+
1
−
1
View file @
2c297409
...
...
@@ -2,4 +2,4 @@
export
FLASK_APP
=
feedbackloop.main:create_app
exec
flask
"
$@
"
exec
/virtualenv/bin/
flask
"
$@
"
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