Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open
Commits
76502b7e
Verified
Commit
76502b7e
authored
Oct 13, 2017
by
David Haynes
🙆
Browse files
Update Dockerfile
- clean up steps - comment actions
parent
118b97b4
Pipeline
#1671
passed with stage
in 1 minute and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
76502b7e
############################################################
#
Dockerfile to build
What's Open
Django App
# What's Open
API v2
############################################################
# Set the base image to Ubuntu
...
...
@@ -10,8 +10,10 @@ ENV PYTHONUNBUFFERED 1
RUN
apt-get update
RUN
apt-get
install
netcat libgdal1h libproj-dev proj-data proj-bin
-y
RUN
mkdir
/whats_open
WORKDIR
/whats_open
ADD
/requirements/ /whats_open/
RUN
pip
install
-r
base.txt
ADD
. /whats_open/
# Copy over all project files into /whats_open
RUN
mkdir
/whats-open/
WORKDIR
/whats-open/
ADD
. /whats-open/
# Pip install all required dependecies
RUN
pip
install
-r
/whats-open/requirements/base.txt
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