More docker and deploy updates
This commit is contained in:
@@ -12,6 +12,7 @@ COPY . .
|
||||
RUN go build -buildvcs=false -o storage-server -v .
|
||||
|
||||
FROM alpine:latest AS runner
|
||||
RUN apk add mdadm
|
||||
WORKDIR /app
|
||||
COPY --from=frontend-builder /frontend/dist ./_frontend/dist
|
||||
COPY ./scripts ./scripts
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ func init() {
|
||||
|
||||
Mode = loadEnv("MODE", "development")
|
||||
Host = loadEnv("HOST", ":4000")
|
||||
BaseURL = loadEnv("HOST", "http://localhost:4000")
|
||||
BaseURL = loadEnv("BASE_URL", "http://localhost:4000")
|
||||
|
||||
AdminPassword = loadEnv("ADMIN_PASSWORD", "secret")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user