my-web-android / Dockerfile
Sachin5112's picture
Update Dockerfile
9a7444a verified
raw
history blame contribute delete
472 Bytes
FROM budtmo/docker-android:emulator_9.0
USER root
# 1. Force everything to stay in the foreground
ENV DEVICE_RESOLUTION="720x1280"
ENV WEB_HUD=true
ENV APPIUM=false
ENV WEB_VNC=true
# 2. Map the port Hugging Face expects
EXPOSE 7860
# 3. The 'Never-Sleep' Command
# We use 'nodaemon' so Hugging Face sees the process as active
# and we point to the absolute path for the config file.
CMD ["/usr/bin/supervisord", "-n", "-c", "/etc/supervisor/conf.d/supervisord.conf"]