Spaces:
Sleeping
Sleeping
FROM python:3.9 | |
# Установка системных зависимостей для Buildozer | |
RUN apt-get update && apt-get install -y \ | |
python3-pip \ | |
git \ | |
python3-dev \ | |
ffmpeg \ | |
libsdl2-dev \ | |
libsdl2-image-dev \ | |
libsdl2-mixer-dev \ | |
libsdl2-ttf-dev \ | |
libportmidi-dev \ | |
libswscale-dev \ | |
libavformat-dev \ | |
libavcodec-dev \ | |
zlib1g-dev \ | |
libgstreamer1.0-dev \ | |
gstreamer1.0-plugins-base \ | |
gstreamer1.0-plugins-good \ | |
build-essential \ | |
libsqlite3-dev \ | |
sqlite3 \ | |
bzip2 \ | |
libbz2-dev \ | |
zlib1g-dev \ | |
libssl-dev \ | |
openssl \ | |
libgdbm-dev \ | |
liblzma-dev \ | |
libreadline-dev \ | |
libncursesw5-dev \ | |
libffi-dev \ | |
uuid-dev \ | |
libffi6 \ | |
libfreetype6-dev \ | |
libgl1-mesa-dev \ | |
libgles2-mesa-dev \ | |
libdrm-dev \ | |
libgbm-dev \ | |
libasound2-dev \ | |
libjpeg-dev \ | |
libdbus-1-dev \ | |
&& rm -rf /var/lib/apt/lists/* | |
# Установка Java | |
RUN apt-get update && apt-get install -y openjdk-11-jdk | |
# Копирование файлов приложения | |
WORKDIR /code | |
COPY . . | |
# Установка Python зависимостей | |
RUN pip install -r requirements.txt | |
# Запуск приложения | |
CMD ["python", "app.py"] |