This commit is contained in:
parent
d843e2f5bf
commit
73a964ea7a
@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.20 as builder
|
FROM golang:1.21 as builder
|
||||||
WORKDIR /go/src/app
|
WORKDIR /go/src/app
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN apt update && apt upgrade -y
|
RUN apt update && apt upgrade -y
|
||||||
@ -6,7 +6,7 @@ RUN CGO_ENABLED=0 go build
|
|||||||
|
|
||||||
FROM alpine:latest as final
|
FROM alpine:latest as final
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir -p /lib64
|
RUN mkdir -p /lib64
|
||||||
COPY --from=builder /go/src/app/tildewatch /app/
|
COPY --from=builder /go/src/app/tildewatch /app/
|
||||||
|
|
||||||
CMD ["/app/tildewatch"]
|
CMD ["/app/tildewatch"]
|
||||||
|
Loading…
Reference in New Issue
Block a user