mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
apphub
This commit is contained in:
parent
6217d7905a
commit
dfe41c668c
2 changed files with 0 additions and 6 deletions
|
@ -44,7 +44,5 @@ RUN rm -rf apphub/docs apphub/tests library.zip plugin-appstore && \
|
|||
apt clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/man /usr/share/doc /usr/share/doc-base
|
||||
|
||||
USER root
|
||||
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
|
@ -39,10 +39,6 @@ git config --global user.name "$username"
|
|||
git config --global user.email "$password"
|
||||
set -e
|
||||
|
||||
internal_ip=$(ip addr show eth0 | awk '/inet /{split($2, a, "/"); print a[1]}')
|
||||
sudo nsenter -m -u -i -n -p -t 1 sh -c "sed -i '/websoft9-apphub/d' /etc/hosts"
|
||||
sudo nsenter -m -u -i -n -p -t 1 sh -c "echo $internal_ip websoft9-apphub>> /etc/hosts"
|
||||
|
||||
# start by supervisord
|
||||
/usr/bin/supervisord
|
||||
supervisorctl start all
|
||||
|
|
Loading…
Reference in a new issue