Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
fix: add docke_entrypoint.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
storopoli committed Jul 5, 2024
1 parent 883a3f9 commit befd0e3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

11 changes: 11 additions & 0 deletions docker_entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

echo "Running mysql"
mysqld &

echo "Running Labelbase"
/app/run.sh &

echo "Running nginx"
nginx -g 'daemon off;'

2 changes: 1 addition & 1 deletion manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ assets:
main:
type: docker
image: main
entrypoint: "/app/run.sh"
entrypoint: "docker_entrypoint.sh"
args: []
mounts:
main: /root
Expand Down

0 comments on commit befd0e3

Please sign in to comment.