diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..082a1db --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM alpine:latest + +ARG GAME_URL +ARG GAME_ARGS + +WORKDIR site +RUN wget https://js-dos.com/6.22/current/js-dos.js && \ + wget https://js-dos.com/6.22/current/wdosbox.js && \ + wget https://js-dos.com/6.22/current/wdosbox.wasm.js && \ + wget -O game.zip "$GAME_URL" + +RUN apk add darkhttpd + +COPY index.html bg.jpg ./ +RUN sed -i s/GAME_ARGS/$GAME_ARGS/ index.html + +ENTRYPOINT ["/usr/bin/darkhttpd", "/site", "--port", "8000"] \ No newline at end of file diff --git a/bg.jpg b/bg.jpg new file mode 100644 index 0000000..50f2ff7 Binary files /dev/null and b/bg.jpg differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..ef74ffd --- /dev/null +++ b/index.html @@ -0,0 +1,29 @@ + + +
+Learn basic math skills with Number Munchers. Keep your Muncher away from the Troggles by munching on multiples, factors, prime numbers, equalities, and inequalities. If you can stay away from the Troggles and earn enough points, you'll be part of the Muncher Hall of Fame.
+ + diff --git a/number-munchers.zip b/number-munchers.zip new file mode 100644 index 0000000..942bc4c Binary files /dev/null and b/number-munchers.zip differ