fqnd / Dockerfile

Commit History

touch nginx error.log to suppress alert
3e60800

Haruka041 commited on

revert: back to while true loop (3a1d7ad version that was RUNNING)
a4adb75

Haruka041 commited on

fix: exec sleep infinity instead of while true loop
f34e7c0

Haruka041 commited on

revert: back to single quotes in ENTRYPOINT (worked before)
651eda6

Haruka041 commited on

fix: nginx -g error_log /dev/stderr to suppress warning
41c20aa

Haruka041 commited on

fix: remove bot TcpListener (nginx owns 7860), mkdir nginx log dir
3a1d7ad

Haruka041 commited on

fix: nginx temp paths to /tmp/nginx subdirs (777 perms)
6f99e03

Haruka041 commited on

fix: inline ENTRYPOINT, no entrypoint.sh, no bash, direct daemon off fix
b339f56

Haruka041 commited on

nuclear: clean target dir, force full rebuild with latest source
236b422

Haruka041 commited on

bust docker cache for fresh bot binary with token fix
7d2c78d

Haruka041 commited on

Revert to 8140dee working setup: multi-stage + nginx + & wait. Only token fix kept.
cc7fab3

Haruka041 commited on

fix: move COPY+chmod before USER 1000 (root needed)
4bc944b

Haruka041 commited on

fix: remove 'file' command (not installed on Alpine)
89172c9

Haruka041 commited on

fix: stub crate path back to /Tomato-Novel-Official-API
57ac657

Haruka041 commited on

Complete rewrite: /opt/app paths, fresh build, no caching possible
511960f

Haruka041 commited on

fix: remove nc package (busybox nc is default on Alpine)
8a88e2d

Haruka041 commited on

fix: cache-bust Dockerfile, fresh build, nc -q fix, all one-shot
2998aae

Haruka041 commited on

fix: mkdir /app/html before cp
458994e

Haruka041 commited on

fix: single layer for app build, ENTRYPOINT at root
1199ec5

Haruka041 commited on

fix: mkdir /app before cp binary (directory must exist)
1c1328d

Haruka041 commited on

fix: add missing COPY fake_error.html and img to builder
0e6165e

Haruka041 commited on

fix: single-stage build (no multi-stage COPY --from issues)
51250a4

Haruka041 commited on

fix: remove BuildKit cache mount, binary wasn't copied to runtime
d1b3eed

Haruka041 commited on

build: add dockerfile syntax directive for BuildKit support
23152cb

Haruka041 commited on

perf: add cargo registry cache mount for faster builds
4539356

Haruka041 commited on

fix: bot has built-in TcpListener health check, no nginx needed
f6adcf2

Haruka041 commited on

fix: nginx user 1000 worker directive + dedup Dockerfile COPY
b921d7b

Haruka041 commited on

fix: copy nginx conf to /tmp exactly like reference, exec bot as main process
9a02602

Haruka041 commited on

fix: use exec for bot to become PID 1, nginx in background
d984de3

Haruka041 commited on

simplify: use inline ENTRYPOINT CMD instead of separate script
eb46bcb

Haruka041 commited on

Switch to Alpine + nginx (matching reference project's working pattern)
854a116

Haruka041 commited on

fix: use binary directly as ENTRYPOINT, token from env via clap
b894415

Haruka041 commited on

fix: remove stray ..., add img/ to builder COPY
71548a9

Haruka041 commited on

fix: bot uses std::net::TcpListener for health check, no deps. Dockerfile optimized for caching
f3eb7d2

Haruka041 commited on

fix: replace nc with python3 http.server for reliable health check
caf5f96

Haruka041 commited on

fix: install bash, remove set -e, nc-based health check
253cffc

Haruka041 commited on

fix: bot serves health check on 7860 via axum, no nginx needed
35d9d01

Haruka041 commited on

fix: nginx user 1000 + fake_error.html + proper temp paths
6bd8737

Haruka041 commited on

fix: upgrade Rust to 1.92-slim (time 0.3.47 requires >=1.88)
254d421

Haruka041 commited on

fix: create stub crate for path dep resolution in Docker build
1726c09

Haruka041 commited on

fix: use no-official-api for Docker build (API crate is private)
af09950

Haruka041 commited on

Telegram Bot完整实现 + HF Space部署
bc32e7b

Haruka041 commited on