Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
31a3e0bd
Unverified
Commit
31a3e0bd
authored
Aug 08, 2018
by
Thom Wiggers
📐
Browse files
only do deploy on non-dev builds
parent
5290294e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
31a3e0bd
...
...
@@ -44,14 +44,14 @@ WORKDIR /usr/src/app/website/
COPY
docs/requirements.txt /usr/src/app/docs/
COPY
Pipfile /usr/src/app/website/
COPY
Pipfile.lock /usr/src/app/website/
RUN
pipenv
install
--system
--deploy
RUN
pip
install
--no-cache-dir
\
-r
../docs/requirements.txt
RUN if
[
"
$install_dev_requirements
"
-eq
1
]
;
then
\
pipenv
install
--system
--dev
;
\
else
\
echo
"This will fail if the dependencies are out of date"
\
pipenv
install
--system
--deploy
;
\
fi
RUN
pip
install
--no-cache-dir
\
-r
../docs/requirements.txt
# Create entry points
COPY
resources/entrypoint.sh /usr/local/bin/entrypoint.sh
...
...
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