From e95155bc8c738154d3a2aa0ac409c5ca2aea3c18 Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Tue, 2 Jul 2024 16:25:05 +0200 Subject: [PATCH] Nuevos ajustes en Dockerfile --- LyricsPy/servicios/Dockerfile | 3 ++- LyricsPy/servicios/entrypoint.sh | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/LyricsPy/servicios/Dockerfile b/LyricsPy/servicios/Dockerfile index 0ea6f57..c9fdb55 100644 --- a/LyricsPy/servicios/Dockerfile +++ b/LyricsPy/servicios/Dockerfile @@ -14,7 +14,8 @@ RUN apt-get update && apt-get install -y sqlite3 COPY requirements.txt requirements.txt RUN pip3 install -r requirements.txt -ADD lyrics . +RUN mkdir lyrics +ADD lyrics lyrics COPY entrypoint.sh . # run entrypoint.sh diff --git a/LyricsPy/servicios/entrypoint.sh b/LyricsPy/servicios/entrypoint.sh index 5fc4448..30c8316 100755 --- a/LyricsPy/servicios/entrypoint.sh +++ b/LyricsPy/servicios/entrypoint.sh @@ -1,3 +1,4 @@ #!/bin/bash -exec "$@" +#exec "$@" +python -m flask --app lyrics run \ No newline at end of file