Mineflappy: Minecraft Flappy Bird with 6 birds, abilities, biomes and Docker deployment
Single-file HTML5 canvas game - sprites, bitmap font, music and sound are
all generated in code, no external assets.
Game:
- 6 playable birds, each with a unique ability (Double Flap, Teleport,
Allay Magnet, Melt, Phase, Howl)
- 5 score-driven biomes (Plains, Desert, Mineshaft, Nether, Ice Peaks)
- Day/night cycle, weather (rain, snow, embers), camera drift
- Pickups: gold, bubble shield, elytra wings, lucky cube buffs
- Difficulty settings, bird unlocks, per-bird bests, advancement toasts
- Daily challenge with a shareable code and a ghost of your best run
- 2-player on one screen
Deployment:
- Dockerfile (nginx:alpine) serving the single file
- nginx.conf with no-cache headers, gzip and a /healthz endpoint
- docker-compose.yml and Coolify instructions in the README
2026-10-23 17:14:43 +00:00
|
|
|
# Mineflappy — Minecraft Flappy Bird
|
|
|
|
|
# A single static page served by nginx. No build step, no Node runtime.
|
|
|
|
|
FROM nginx:1.27-alpine
|
|
|
|
|
|
|
|
|
|
LABEL org.opencontainers.image.title="Mineflappy" \
|
|
|
|
|
org.opencontainers.image.description="Minecraft Flappy Bird - single file static game" \
|
|
|
|
|
org.opencontainers.image.licenses="MIT"
|
|
|
|
|
|
Fullscreen PWA: no border, installs as an app, works offline
- canvas fills the entire screen on any device; the 480x640 world is
scaled to fit and bottom-aligned so the ground always sits on the
bottom edge, with the sky painted full-bleed behind it
- the canvas buffer now always matches its laid-out size, so the drawing
can never drift out of step with the screen
- HUD (score, badge, buffs, toasts, biome banner) moved to screen space
so it stays pinned to the real screen edges
- sun and stars drawn in screen space so the sky above the play area is
not empty
- PWA: manifest, service worker (offline), generated app icons and an
in-game INSTALL APP button
- overlays now dim the whole screen, not just the game strip
2026-10-23 17:52:18 +00:00
|
|
|
# Replace nginx's placeholder page with the game + PWA shell
|
Mineflappy: Minecraft Flappy Bird with 6 birds, abilities, biomes and Docker deployment
Single-file HTML5 canvas game - sprites, bitmap font, music and sound are
all generated in code, no external assets.
Game:
- 6 playable birds, each with a unique ability (Double Flap, Teleport,
Allay Magnet, Melt, Phase, Howl)
- 5 score-driven biomes (Plains, Desert, Mineshaft, Nether, Ice Peaks)
- Day/night cycle, weather (rain, snow, embers), camera drift
- Pickups: gold, bubble shield, elytra wings, lucky cube buffs
- Difficulty settings, bird unlocks, per-bird bests, advancement toasts
- Daily challenge with a shareable code and a ghost of your best run
- 2-player on one screen
Deployment:
- Dockerfile (nginx:alpine) serving the single file
- nginx.conf with no-cache headers, gzip and a /healthz endpoint
- docker-compose.yml and Coolify instructions in the README
2026-10-23 17:14:43 +00:00
|
|
|
RUN rm -f /usr/share/nginx/html/index.html
|
Fullscreen PWA: no border, installs as an app, works offline
- canvas fills the entire screen on any device; the 480x640 world is
scaled to fit and bottom-aligned so the ground always sits on the
bottom edge, with the sky painted full-bleed behind it
- the canvas buffer now always matches its laid-out size, so the drawing
can never drift out of step with the screen
- HUD (score, badge, buffs, toasts, biome banner) moved to screen space
so it stays pinned to the real screen edges
- sun and stars drawn in screen space so the sky above the play area is
not empty
- PWA: manifest, service worker (offline), generated app icons and an
in-game INSTALL APP button
- overlays now dim the whole screen, not just the game strip
2026-10-23 17:52:18 +00:00
|
|
|
COPY index.html /usr/share/nginx/html/index.html
|
|
|
|
|
COPY manifest.webmanifest /usr/share/nginx/html/manifest.webmanifest
|
|
|
|
|
COPY sw.js /usr/share/nginx/html/sw.js
|
|
|
|
|
COPY icon-192.png /usr/share/nginx/html/icon-192.png
|
|
|
|
|
COPY icon-512.png /usr/share/nginx/html/icon-512.png
|
|
|
|
|
COPY apple-touch-icon.png /usr/share/nginx/html/apple-touch-icon.png
|
|
|
|
|
COPY favicon-32.png /usr/share/nginx/html/favicon-32.png
|
|
|
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
Mineflappy: Minecraft Flappy Bird with 6 birds, abilities, biomes and Docker deployment
Single-file HTML5 canvas game - sprites, bitmap font, music and sound are
all generated in code, no external assets.
Game:
- 6 playable birds, each with a unique ability (Double Flap, Teleport,
Allay Magnet, Melt, Phase, Howl)
- 5 score-driven biomes (Plains, Desert, Mineshaft, Nether, Ice Peaks)
- Day/night cycle, weather (rain, snow, embers), camera drift
- Pickups: gold, bubble shield, elytra wings, lucky cube buffs
- Difficulty settings, bird unlocks, per-bird bests, advancement toasts
- Daily challenge with a shareable code and a ghost of your best run
- 2-player on one screen
Deployment:
- Dockerfile (nginx:alpine) serving the single file
- nginx.conf with no-cache headers, gzip and a /healthz endpoint
- docker-compose.yml and Coolify instructions in the README
2026-10-23 17:14:43 +00:00
|
|
|
|
|
|
|
|
EXPOSE 80
|
|
|
|
|
|
|
|
|
|
# Coolify/Traefik use this to decide the container is live
|
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
|
|
|
CMD wget -q --spider http://127.0.0.1/ || exit 1
|
|
|
|
|
|
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|