Browse Source

Nuevos ajustes en Dockerfile

politica
Celestino Rey 1 year ago
parent
commit
e95155bc8c
2 changed files with 4 additions and 2 deletions
  1. +2
    -1
      LyricsPy/servicios/Dockerfile
  2. +2
    -1
      LyricsPy/servicios/entrypoint.sh

+ 2
- 1
LyricsPy/servicios/Dockerfile View File

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


+ 2
- 1
LyricsPy/servicios/entrypoint.sh View File

@ -1,3 +1,4 @@
#!/bin/bash #!/bin/bash
exec "$@"
#exec "$@"
python -m flask --app lyrics run

Loading…
Cancel
Save