Verified Commit 76502b7e authored by David Haynes's avatar David Haynes 🙆
Browse files

Update Dockerfile

- clean up steps
- comment actions
parent 118b97b4
Pipeline #1671 passed with stage
in 1 minute and 38 seconds
############################################################ ############################################################
# Dockerfile to build What's Open Django App # What's Open API v2
############################################################ ############################################################
# Set the base image to Ubuntu # Set the base image to Ubuntu
...@@ -10,8 +10,10 @@ ENV PYTHONUNBUFFERED 1 ...@@ -10,8 +10,10 @@ ENV PYTHONUNBUFFERED 1
RUN apt-get update RUN apt-get update
RUN apt-get install netcat libgdal1h libproj-dev proj-data proj-bin -y RUN apt-get install netcat libgdal1h libproj-dev proj-data proj-bin -y
RUN mkdir /whats_open # Copy over all project files into /whats_open
WORKDIR /whats_open RUN mkdir /whats-open/
ADD /requirements/ /whats_open/ WORKDIR /whats-open/
RUN pip install -r base.txt ADD . /whats-open/
ADD . /whats_open/
# Pip install all required dependecies
RUN pip install -r /whats-open/requirements/base.txt
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment