ARG ROMM_BASE_IMAGE=rommapp/romm:5.4.0@sha256:03295f95a6290e752641f9553ac4198b0e5b71b879d57f7b2371b98f608feb54
FROM ${ROMM_BASE_IMAGE}
COPY theme/harbor-arcade.css /var/www/html/assets/harbor-arcade.css
COPY theme/harbor-home.css theme/harbor-home.js theme/harbor-hero.png /var/www/html/assets/
COPY theme/portal.css theme/portal.js /var/www/html/assets/
COPY theme/doom-articles.js theme/doom-content.json /var/www/html/assets/
COPY theme/harbor-island.css theme/harbor-island.js theme/harbor-island.png /var/www/html/assets/
COPY theme/harbor-unreal.css theme/harbor-unreal.js theme/harbor-unreal.png /var/www/html/assets/
COPY theme/harbor-versions.js theme/harbor-pointer.js theme/harbor-player.js /var/www/html/assets/
COPY theme/home.html /var/www/html/harbor-home.html
COPY theme/doom.html /var/www/html/harbor-doom.html
COPY theme/unreal.html /var/www/html/harbor-unreal.html
COPY windows-player/assets/ /var/www/html/assets/
COPY windows-player/bios/ /var/www/html/windows-runtime/bios/
COPY windows-player/fonts/ /var/www/html/windows-runtime/fonts/
COPY windows-player/reference/ /var/www/html/windows-runtime/reference/
COPY windows-player/*.wasm windows-player/bottleship_logo.png windows-player/deployment.json /var/www/html/windows-runtime/
COPY windows-player/index.html /var/www/html/harbor-windows.html
COPY windows-player/source/ /var/www/html/harbor-source/windows/
COPY Dockerfile /var/www/html/harbor-source/Dockerfile
COPY patch_romm.py /tmp/harbor-patch.py
RUN python /tmp/harbor-patch.py
