appmanage
This commit is contained in:
parent
ed656d1863
commit
2499333dcf
2 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,7 @@ COPY static ./static
|
|||
COPY requirements.txt main.py hostname.py database.sqlite ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisords
|
||||
# Install supervisord
|
||||
RUN apt install -y supervisor iproute2
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
|
|
@ -47,6 +47,7 @@ def get_release_version(version):
|
|||
def get_release_url():
|
||||
now = shell_execute.execute_command_output_all("cat /data/apps/websoft9/version.json")['result']
|
||||
now_release = json.loads(now)['RELEASE']
|
||||
myLogger.info_logger(now_release)
|
||||
if now_release == None or now_release == "dev":
|
||||
return const.ARTIFACT_URL_DEV
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue