feat: add create-user cli
This commit is contained in:
@@ -27,8 +27,9 @@ RUN bun run build:assets
|
||||
# Generate templ files
|
||||
RUN templ generate
|
||||
|
||||
# Build the server and the CLI tools
|
||||
# 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
|
||||
|
||||
@@ -41,6 +42,7 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user