diff --git a/LyricsPy/K8S/lyrics-deployment.yaml b/LyricsPy/K8S/lyrics-deployment.yaml index e39831f..dd731c0 100644 --- a/LyricsPy/K8S/lyrics-deployment.yaml +++ b/LyricsPy/K8S/lyrics-deployment.yaml @@ -36,7 +36,7 @@ spec: - --bind - 0.0.0.0:5000 - lyrics:create_app() - image: creylopez/lyrics:5.0 + image: creylopez/lyrics:5.1 name: lyrics ports: - containerPort: 5000 diff --git a/LyricsPy/servicios/Dockerfile b/LyricsPy/servicios/Dockerfile index e3d73ed..b4d425d 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 -COPY . . +COPY lyrics . +COPY entrypoint.sh . # CMD [ "python3", "-m" , "flask", "--app", "padel", "run", "--host=0.0.0.0"] #CMD [ "python3", "-m" , "flask", "run", "--host=0.0.0.0"] diff --git a/LyricsPy/servicios/creaImagen.sh b/LyricsPy/servicios/creaImagen.sh index a50c2a2..7ec110e 100644 --- a/LyricsPy/servicios/creaImagen.sh +++ b/LyricsPy/servicios/creaImagen.sh @@ -1,3 +1,3 @@ -docker build --no-cache -t creylopez/lyrics:5.0 . -docker push creylopez/lyrics:5.0 +docker build --no-cache -t creylopez/lyrics:5.1 . +docker push creylopez/lyrics:5.1