This commit is contained in:
maddalax 2024-09-21 13:14:51 -05:00
parent 07d8a5db10
commit f482f8f88a
3 changed files with 9 additions and 1 deletions

View file

@ -41,5 +41,5 @@ func DownloadTailwindCli() error {
fmt.Sprintf(`curl -LO %s`, url),
fmt.Sprintf(`chmod +x %s`, fileName),
fmt.Sprintf(`mv %s ./assets/css/tailwindcss`, fileName),
})
}, process.ExitOnError)
}

View file

@ -196,6 +196,12 @@ func Run(command string, flags ...RunFlag) error {
err := cmd.Run()
slog.Debug("command finished",
slog.String("command", command),
slog.String("dir", cmd.Dir),
slog.String("cwd", GetWorkingDir()),
slog.String("error", fmt.Sprintf("%v", err)))
if err == nil {
return nil
}

View file

@ -1,7 +1,9 @@
# Stage 1: Build the Go binary
FROM golang:1.23-alpine AS builder
RUN apk update
RUN apk add git
RUN apk add curl
# Set the working directory inside the container
WORKDIR /app