Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
concrexit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
70
Issues
70
List
Boards
Labels
Service Desk
Milestones
Merge Requests
10
Merge Requests
10
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
thalia
concrexit
Commits
36ccc79b
Unverified
Commit
36ccc79b
authored
Aug 01, 2018
by
Thom Wiggers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First attempt at docker build
parent
0b730753
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
Dockerfile
Dockerfile
+5
-8
No files found.
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