fix: remove stale create-user docker build
This commit is contained in:
@@ -29,7 +29,6 @@ RUN templ generate
|
||||
|
||||
# Build the server and CLI tools
|
||||
RUN go build -o main_server ./cmd/server
|
||||
RUN go build -o create_user ./cmd/create-user
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
@@ -42,7 +41,6 @@ RUN apt-get update && apt-get install -y ca-certificates sqlite3 && rm -rf /var/
|
||||
RUN mkdir -p /app/data
|
||||
|
||||
COPY --from=builder /app/main_server .
|
||||
COPY --from=builder /app/create_user .
|
||||
COPY --from=builder /app/static ./static
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY --from=builder /app/migrations ./migrations
|
||||
|
||||
@@ -131,7 +131,7 @@ When the server starts, the app is available at `http://localhost:3000`.
|
||||
|
||||
Important notes:
|
||||
- Environment variables are read directly from the process environment (`PORT`, `DATABASE_FILE`, `ENV`, `PLAYBACK_PROXY_SECRET`); `.env` is not auto-loaded.
|
||||
- The web app currently exposes a login route only. If your database has no users yet, create the first user outside the web UI.
|
||||
- The web app currently exposes a login route only. Seed at least one user directly in the SQLite database before first login.
|
||||
|
||||
For containerized usage, the included `Dockerfile` uses a multi-stage build that installs Bun + templ, builds assets, generates templates, compiles `cmd/server`, and ships a slim runtime image with SQLite support.
|
||||
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
Executable entrypoints live here.
|
||||
|
||||
- `cmd/server`: main web process (`go run ./cmd/server`)
|
||||
- `cmd/create-user`: admin CLI for adding login users (`go run ./cmd/create-user --email user@example.com --password-stdin`)
|
||||
|
||||
## Why this structure
|
||||
|
||||
|
||||
Reference in New Issue
Block a user