This commit is contained in:
CapsLock 2021-04-07 22:19:28 +02:00
parent 642163b756
commit 141ff9b45d

View file

@ -13,9 +13,6 @@ ENV LANGUAGE fr_FR:fr
ENV LC_ALL fr_FR.UTF-8
COPY ./ /srv/copanier
#git clone https://github.com/spiral-project/copanier /srv/copanier
RUN cd /srv/copanier/ && python3 -m venv /srv/copanier-venv && . /srv/copanier-venv/bin/activate && pip install wheel gunicorn && pip install -e .
RUN dpkg-reconfigure locales
# RUN sed -i 's/simple_server(app, port=2244)/simple_server(app, host="0.0.0.0", port=2244)/g' /srv/copanier/copanier/__init__.py
#ENTRYPOINT ["/srv/copanier/venv/bin/copanier", "serve"]
RUN dpkg-reconfigure locales