* fixed locale issue in docker
* fixed uploaded blocks not saving type properly
This commit is contained in:
parent
40ea61707f
commit
cfbc834eb5
3 changed files with 11 additions and 4 deletions
|
@ -4,13 +4,18 @@ FROM ubuntu:xenial
|
|||
ENV HOME /root
|
||||
|
||||
#Install needed packages
|
||||
RUN apt update && apt install -y python3 python3-dev python3-pip tor
|
||||
RUN apt update && apt install -y python3 python3-dev python3-pip tor locales
|
||||
|
||||
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
||||
locale-gen
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
WORKDIR /srv/
|
||||
ADD ./requirements.txt /srv/requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
|
||||
WORKDIR /root/
|
||||
#Add Onionr source
|
||||
COPY . /root/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue