1
0
Fork 0

Actualizando Docker

This commit is contained in:
Parodper 2024-01-03 15:45:56 +01:00
parent 00d8880b76
commit 5c52fb8825
3 changed files with 8 additions and 4 deletions

2
.gitignore vendored
View File

@ -160,3 +160,5 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
cache/
out/

View File

@ -2,7 +2,9 @@ FROM python:3.11-alpine
WORKDIR /
#RUN git clone https://git.disroot.org/parodper/comparar_guias_docentes.git
#COPY . /comparar_guias_docentes
RUN mkdir /comparar_guias_docentes
COPY *.py /comparar_guias_docentes
ADD www /comparar_guias_docentes
WORKDIR /comparar_guias_docentes
RUN pip install html2text bs4 requests

View File

@ -5,9 +5,9 @@ services:
context: .
dockerfile: Dockerfile
volumes:
#- ./cache:/comparar_guias_docentes/cache
#- ./out:/comparar_guias_docentes/out
- .:/comparar_guias_docentes
- ./cache:/comparar_guias_docentes/cache
- ./out:/comparar_guias_docentes/out
#- .:/comparar_guias_docentes
command: ./serve.py 0.0.0.0 80
ports:
- 9080:80