fix: Add missing link & env for pipenv

This commit is contained in:
Glenn Y. Rolland 2021-12-15 17:47:14 +01:00
parent 630e589960
commit 67a5cea132

View file

@ -13,14 +13,16 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
&& truncate -s 0 /var/log/*log && truncate -s 0 /var/log/*log
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
ENV LANG=C ENV LANG=C.UTF-8 \
ENV LC_ALL=C LC_ALL=C.UTF-8 \
PIPENV_HIDE_EMOJIS=1
RUN make prepare SYSTEM_INSTALL=1 RUN ln -sf python3 /usr/bin/python \
&& make prepare SYSTEM_INSTALL=1
ENTRYPOINT ["/app/docker/entrypoint.sh"] ENTRYPOINT ["/app/docker/entrypoint.sh"]
CMD ["watch"] CMD ["watch"]