diff --git a/Dockerfile b/Dockerfile index 49ac941..4a093c2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,3 +42,4 @@ RUN pip install --no-cache-dir --break-system-packages -r /app/requirements.txt COPY ./run.sh /app/run.sh RUN chmod +x /app/run.sh + diff --git a/docker_entrypoint.sh b/docker_entrypoint.sh new file mode 100644 index 0000000..aef0b68 --- /dev/null +++ b/docker_entrypoint.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +echo "Running mysql" +mysqld & + +echo "Running Labelbase" +/app/run.sh & + +echo "Running nginx" +nginx -g 'daemon off;' + diff --git a/manifest.yaml b/manifest.yaml index 41018c3..01610e8 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -19,7 +19,7 @@ assets: main: type: docker image: main - entrypoint: "/app/run.sh" + entrypoint: "docker_entrypoint.sh" args: [] mounts: main: /root