From 4fe12128a5edea1f3b687485a0fed6df399f2485 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Tue, 2 Jul 2024 16:34:38 +0200 Subject: [PATCH] =?UTF-8?q?Revierto=20a=20versi=C3=B3n=20anterior?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LyricsPy/servicios/Dockerfile | 6 ++---- LyricsPy/servicios/entrypoint.sh | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) 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