diff --git a/LyricsPy/servicios/Dockerfile b/LyricsPy/servicios/Dockerfile index c9fdb55..67ca6b1 100644 --- a/LyricsPy/servicios/Dockerfile +++ b/LyricsPy/servicios/Dockerfile @@ -14,9 +14,7 @@ RUN apt-get update && apt-get install -y sqlite3 COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -RUN mkdir lyrics -ADD lyrics lyrics -COPY entrypoint.sh . +COPY . . # run entrypoint.sh -ENTRYPOINT ["/lyrics/entrypoint.sh"] +ENTRYPOINT ["/lyrics/entrypoint.sh"] \ No newline at end of file diff --git a/LyricsPy/servicios/entrypoint.sh b/LyricsPy/servicios/entrypoint.sh index 30c8316..5ae1c70 100755 --- a/LyricsPy/servicios/entrypoint.sh +++ b/LyricsPy/servicios/entrypoint.sh @@ -1,4 +1,3 @@ #!/bin/bash -#exec "$@" -python -m flask --app lyrics run \ No newline at end of file +exec "$@" \ No newline at end of file