Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CTB
ctb-platform-backend-antigo
Commits
0e06b4cb
Commit
0e06b4cb
authored
5 years ago
by
Bruno Martin
Browse files
Options
Download
Email Patches
Plain Diff
add compress command to production docker build
parent
f15c8db1
develop
master
v0.5.1
v0.5.0
v0.4.0
v0.3.5
No related merge requests found
Pipeline
#7522
failed with stages
in 19 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
compose/production/Dockerfile
compose/production/Dockerfile
+2
-1
No files found.
compose/production/Dockerfile
View file @
0e06b4cb
...
...
@@ -20,7 +20,8 @@ COPY . /app
# env.example must be used during build to provide a valid environment
RUN
export
$(
cat
/app/env.example |
grep
-v
^# | xargs
)
&&
\
python /app/manage.py collectstatic
--noinput
python /app/manage.py collectstatic
--noinput
&&
\
python /app/manage.py compress
WORKDIR
/app
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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