Unverified Commit 36ccc79b authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

First attempt at docker build

parent 0b730753
......@@ -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; \
pipenv install --system --dev \
# Create entry points
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