Spaces:
Paused
Paused
Download Dockerfile from binary1ne/android-studio: direct link, hf CLI and curl.
- Browser
- Download file 571 Bytes
-
https://huggingface.co/spaces/binary1ne/android-studio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/binary1ne/android-studio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/binary1ne/android-studio/resolve/main/Dockerfile
571 Bytes
| FROM deadolus/android-studio:latest | |
| # Install required tools for VNC access and dummy display | |
| RUN apt-get update && apt-get install -y \ | |
| x11vnc \ | |
| xvfb \ | |
| fluxbox \ | |
| net-tools \ | |
| && apt-get clean | |
| # Set environment variables | |
| ENV DISPLAY=:0 | |
| ENV RESOLUTION=1920x1080x24 | |
| ENV VNC_PORT=7860 | |
| ENV VNC_PASSWORD=android | |
| # Expose VNC port | |
| EXPOSE 7860 | |
| # Create directory for studio data | |
| RUN mkdir -p /studio-data && chown -R root:root /studio-data | |
| # Entry point script | |
| COPY entrypoint.sh /entrypoint.sh | |
| RUN chmod +x /entrypoint.sh | |
| ENTRYPOINT ["/entrypoint.sh"] | |