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
36ccc79b
Unverified
Commit
36ccc79b
authored
Aug 01, 2018
by
Thom Wiggers
📐
Browse files
First attempt at docker build
parent
0b730753
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
36ccc79b
...
...
@@ -39,18 +39,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
WORKDIR
/usr/src/app/website/
# install python requirements
COPY
requirements.txt /usr/src/app/website/
COPY
production-requirements.txt /usr/src/app/website/
COPY
dev-requirements.txt /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
requirements.txt
\
-r
production-requirements.txt
\
-r
../docs/requirements.txt
RUN if
[
"
$install_dev_requirements
"
-eq
1
]
;
then
\
pip
install
--
no-cache-dir
-r
dev-requirements.txt
;
\
fi
pip
env
install
--
system
--dev
\
fi
# Create entry points
...
...
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