Добавлены еще часть файлов
This commit is contained in:
1 parent
5753de622e
commit
ab4953ffd1
5 files changed
+459
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
RUN pip install --no-cache-dir flask psycopg2-binary lxml
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Копируем приложение
|
||||
COPY app/*.py /app/
|
||||
|
||||
# Копируем скрипты импорта
|
||||
COPY scripts/*.py /app/scripts/
|
||||
|
||||
# Копируем SQL-схему
|
||||
COPY sql/ /app/sql/
|
||||
|
||||
# Копируем данные (genres.xml)
|
||||
COPY data/genres.xml /app/data/genres.xml
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["python", "opds_server.py"]
|
||||
Reference in new issue
Block a user