Download Dockerfile from 0VSol13/ARCADE: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/0VSol13/ARCADE/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/0VSol13/ARCADE/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/0VSol13/ARCADE/resolve/main/Dockerfile
463 Bytes
| FROM nginx:alpine | |
| RUN apk add --no-cache wget unzip curl | |
| RUN sed -i 's/listen *80;/listen 7860;/g' /etc/nginx/conf.d/default.conf | |
| WORKDIR /usr/share/nginx/html | |
| RUN rm -rf ./* | |
| RUN wget -qO emu.zip https://github.com/EmulatorJS/EmulatorJS/archive/refs/heads/main.zip && unzip -q emu.zip && mv EmulatorJS-main/* . && rm -rf EmulatorJS-main emu.zip | |
| RUN mkdir -p ROM_VAULT | |
| COPY index.html ./ | |
| COPY ROM_VAULT/ ./ROM_VAULT/ | |
| EXPOSE 7860 | |
| CMD ["nginx", "-g", "daemon off;"] |