Commit graph

51 commits

Author SHA1 Message Date
6944b9829c
Fix Docker build by using pre-bundled vendor assets
- Add new mix alias 'assets.deploy.prod' that skips vendor bundling
- Copy pre-bundled vendor.js and vendor.css files in Dockerfile
- Prevents esbuild errors when npm packages aren't available during build

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 12:41:27 -05:00
9b034cd211
vendor all js 2025-07-21 11:09:14 -05:00
74767345fd
Fix Docker build by downloading vendor files during build
The Docker build was failing because vendor CSS files (leaflet.css, etc.)
were not available during the assets compilation step. Since vendor files
are in .gitignore, they need to be downloaded during the Docker build.

Added steps to the Dockerfile to:
- Copy the download-vendor-files.sh script into the build container
- Execute the script to download all vendor JS and CSS files
- This ensures vendor files are present before mix assets.deploy runs

This fixes the "Can't resolve '../vendor/leaflet.css'" error during
production deployments.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-21 10:05:59 -05:00
1a84eb594a
Fix Gleam compilation in Docker builds
- Mark gleam_stdlib and gleeunit with compile: false in mix.exs
- Copy pre-compiled Gleam BEAM files in Dockerfile
- Add explicit mix gleam_compile step before asset compilation
- Ensure priv/gleam directory is included in Docker build

This fixes the "Could not compile :gleam_stdlib" error during deployment.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 15:11:08 -05:00
8cc2cf0a5e
Fix Docker deployment with Gleam integration
- Update gleam_compile task to handle missing mix_gleam/gleam binary
- Add fallback to use pre-compiled BEAM files from priv/gleam
- Include pre-compiled aprsme@encoding.beam for Docker builds
- Update both Dockerfiles to ensure priv/gleam directory exists
- Fix module name filter from "aprs@" to "aprsme@" in fallback logic

This ensures Docker builds work without requiring gleam or mix_gleam
to be installed in the production container.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 14:06:36 -05:00
184ca52a8c
cleanup 2025-07-13 09:35:40 -05:00
d75a8e75c6
docker fix for vendored submodule 2025-07-11 14:34:38 -05:00
9dd7ca8f56
fix parser version check 2025-07-07 14:54:52 -05:00
ba80e414d8
fix parser version check 2025-07-07 14:46:31 -05:00
2c8b594d59
fix parser version check 2025-07-07 14:24:47 -05:00
6cebd03d7f
fix parser version check 2025-07-07 14:16:55 -05:00
cfdaf954d5
fix parser version check 2025-07-07 14:16:08 -05:00
bd534da1ac
fix parser version check 2025-07-07 14:01:43 -05:00
c87b58a2df
fix parser version check 2025-07-07 13:56:58 -05:00
75805ffc12
fix parser version check 2025-07-07 13:53:09 -05:00
da9d89a3a0
fix parser version check 2025-07-07 13:50:04 -05:00
f3ca970174
deployed at fix 2025-06-21 22:16:25 -05:00
2a98013a96
deployed at fix 2025-06-21 22:13:56 -05:00
05815a0f8b
add deployed timestamp 2025-06-21 22:05:31 -05:00
4c4b4ac2e0
docker prune 2025-06-16 15:54:36 -05:00
6f54625dc8
add icons to static path 2025-06-16 11:04:58 -05:00
54f8401d2c
docker fix 2025-06-16 10:54:51 -05:00
eafea1ed30
docker cleanup 2025-06-16 10:52:52 -05:00
f0c25f7ff4
docker fix 2025-06-16 10:47:20 -05:00
ab64585c02
dokku port fixes 2025-06-16 10:45:29 -05:00
e107cd7a4b
dokku port fixes 2025-06-16 10:43:37 -05:00
846cf8a74b
silence docker errors 2025-06-16 08:27:51 -05:00
cb58946f71
back to orig docker 2025-06-15 19:11:52 -05:00
b8f61a9a06
docker updates 2025-06-15 17:44:31 -05:00
7a8a5443f6
docker updates 2025-06-15 17:39:28 -05:00
c5617b6e8d
docker updates 2025-06-15 17:36:51 -05:00
1a456849a4 distroless 2025-06-15 15:19:29 -05:00
8a4189ad74 distroless 2025-06-15 15:11:45 -05:00
40eeb2f4aa distroless 2025-06-15 15:04:53 -05:00
05951ad609 distroless 2025-06-15 15:01:38 -05:00
e44e8139c8 dockerfile update 2025-06-15 14:50:23 -05:00
4254b4942d dockerfile update 2025-06-15 14:06:46 -05:00
5710020393 dockerfile update 2025-06-15 14:04:17 -05:00
fe3d5ebf8d dockerfile update 2025-06-15 14:02:49 -05:00
534cefc973 dockerfile update 2025-06-15 13:59:25 -05:00
d76eedbd6c docker security 2025-06-15 11:07:42 -05:00
ce6cef6605 docker security 2025-06-15 11:06:24 -05:00
0991c1eebc change debian version 2025-06-15 10:59:05 -05:00
381816033c format 2025-06-15 10:56:05 -05:00
11403dea01 update elixir/erlang version 2025-06-15 10:49:57 -05:00
1df2f4a716 add security scan for docker 2025-06-15 10:43:38 -05:00
47437424d9 try docker build 2025-01-27 13:59:42 -06:00
31dec61d8c testing without dockerfile 2023-02-01 14:19:05 -06:00
ba3436fc7c remove more fly things and tweak dockerfile 2023-01-29 12:56:28 -06:00
43c930e772 remove some fly.io configs 2023-01-29 12:44:27 -06:00