Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eScriptorium
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
scripta
eScriptorium
Commits
af0172a1
Commit
af0172a1
authored
4 years ago
by
Robin Tissot
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
dc64ce9d
4117c8b9
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!57
Adding missing libs in requirements
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
app/Dockerfile
+5
-5
5 additions, 5 deletions
app/Dockerfile
app/apps/core/tasks.py
+1
-1
1 addition, 1 deletion
app/apps/core/tasks.py
app/requirements.txt
+2
-0
2 additions, 0 deletions
app/requirements.txt
with
8 additions
and
6 deletions
app/Dockerfile
+
5
−
5
View file @
af0172a1
...
...
@@ -14,9 +14,6 @@ ENV PYTHONUNBUFFERED 1
ARG
VERSION_DATE="passthistobuildcmd"
ENV
VERSION_DATE=$VERSION_DATE
# set work directory
WORKDIR
/usr/src/app
# update apk
RUN
apt-get update
...
...
@@ -26,9 +23,12 @@ RUN adduser --system --no-create-home --ingroup uwsgi uwsgi
RUN
apt-get
install
netcat-traditional jpegoptim pngcrush
RUN
apt-get
--assume-yes
install
libvips
RUN
pip
install
--upgrade
pip
COPY
./requirements.txt /usr/src/app/requirements.txt
# set work directory
WORKDIR
/usr/src/app
RUN
pip
install
--upgrade
pip
RUN
pip
install
-U
-r
requirements.txt
COPY
./entrypoint.sh /usr/src/app/entrypoint.sh
...
...
This diff is collapsed.
Click to expand it.
app/apps/core/tasks.py
+
1
−
1
View file @
af0172a1
...
...
@@ -509,7 +509,7 @@ def before_publish_state(sender=None, body=None, **kwargs):
if
(
data
[
sender
][
'
task_id
'
]
==
sender
.
request
.
id
and
not
check_signal_order
(
data
[
sender
][
'
status
'
],
signal_name
)):
return
except
KeyError
:
except
(
KeyError
,
AttributeError
)
:
pass
data
[
sender
]
=
{
...
...
This diff is collapsed.
Click to expand it.
app/requirements.txt
+
2
−
0
View file @
af0172a1
...
...
@@ -24,3 +24,5 @@ django-compressor==2.4
albumentations
django-simple-captcha==0.5.12
pyvips==2.1.12
scikit-image==0.17.2
scipy==1.5.2
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