Skip to content

Commit 6ce275f

Browse files
committed
fix: add workdir for relative path due to alpine image being used
1 parent 0a5c800 commit 6ce275f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

backend/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ COPY ./backend/ ./
99
RUN CGO_ENABLED=0 GOOS=linux GOFLAGS=-mod=readonly go build -trimpath -o backend ./cmd/main.go
1010

1111
FROM ghcr.io/unlockedlabs/golang-jasper:1.25-3.6.2
12+
WORKDIR /
1213

1314
COPY --from=builder /app/backend /backend
1415
COPY --from=builder /app/src/templates /templates

0 commit comments

Comments
 (0)