Commit 06e6f638 authored by Joren Vrancken's avatar Joren Vrancken Committed by Sébastiaan Versteeg
Browse files

Merge branch 'fix-production-build' into 'master'

Fix poetry install method

See merge request !1484

(cherry picked from commit 0569ba08)

3c9495f9 Fix poetry install method
parent 8d263dcd
......@@ -12,6 +12,7 @@ ARG source_commit="unknown"
ENV PYTHONUNBUFFERED 1
ENV DEBIAN_FRONTEND=noninteractive
ENV SOURCE_COMMIT=${source_commit}
ENV PATH /root/.poetry/bin:${PATH}
# Set up entrypoint and command
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
......@@ -33,7 +34,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
ghostscript && \
rm -rf /var/lib/apt
RUN pip install --no-cache-dir poetry && \
RUN curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python && \
poetry config virtualenvs.create false
WORKDIR /usr/src/app/website/
......
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