Unverified Commit 31a3e0bd authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

only do deploy on non-dev builds

parent 5290294e
......@@ -44,14 +44,14 @@ WORKDIR /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 ../docs/requirements.txt
RUN if [ "$install_dev_requirements" -eq 1 ]; then \
pipenv install --system --dev; \
else \
echo "This will fail if the dependencies are out of date" \
pipenv install --system --deploy; \
fi
RUN pip install --no-cache-dir \
-r ../docs/requirements.txt
# Create entry points
COPY resources/entrypoint.sh /usr/local/bin/entrypoint.sh
......
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