Updated dockerfile

This commit is contained in:
Kevin F 2022-10-22 06:22:05 +00:00
parent c2db671a85
commit 24e0157e15
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
FROM python:3.7 FROM python:3.10
EXPOSE 8080 EXPOSE 8080
USER root USER root
@ -15,7 +15,7 @@ RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen locale-gen
ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8 ENV LANG=en_US.UTF-8 LANGUAGE=en_US:en LC_ALL=en_US.UTF-8
ADD ./requirements.txt /app/requirements.txt ADD ./requirements-x86-all-plugins.txt /app/requirements.txt
RUN pip3 install --require-hashes -r requirements.txt RUN pip3 install --require-hashes -r requirements.txt
#Add Onionr source #Add Onionr source
@ -28,4 +28,4 @@ RUN chmod g=u -R /app
USER 1000 USER 1000
ENV HOME=/app ENV HOME=/app
CMD ["bash", "./run-onionr-node.sh"] CMD ["bash", "./onionr.sh", "start"]