Browse Source

Ajustes en Dockerfile

politica
Celestino Rey 1 year ago
parent
commit
4cf5bc2f9d
3 changed files with 4 additions and 4 deletions
  1. +1
    -1
      LyricsPy/K8S/lyrics-deployment.yaml
  2. +1
    -1
      LyricsPy/servicios/Dockerfile
  3. +2
    -2
      LyricsPy/servicios/creaImagen.sh

+ 1
- 1
LyricsPy/K8S/lyrics-deployment.yaml View File

@ -36,7 +36,7 @@ spec:
- --bind
- 0.0.0.0:5000
- lyrics:create_app()
image: creylopez/lyrics:5.2
image: creylopez/lyrics:5.3
name: lyrics
ports:
- containerPort: 5000


+ 1
- 1
LyricsPy/servicios/Dockerfile View File

@ -14,7 +14,7 @@ RUN apt-get update && apt-get install -y sqlite3
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
COPY lyrics/. .
ADD lyrics .
COPY entrypoint.sh .
# run entrypoint.sh


+ 2
- 2
LyricsPy/servicios/creaImagen.sh View File

@ -1,3 +1,3 @@
docker build --no-cache -t creylopez/lyrics:5.2 .
docker push creylopez/lyrics:5.2
docker build --no-cache -t creylopez/lyrics:5.3 .
docker push creylopez/lyrics:5.3

Loading…
Cancel
Save