Compare commits
No commits in common. "883ff8b7d1ae4906e769a82f9d2e3240faa56cd5" and "750a4dc3db46ec9fd9095822429e2be853d72746" have entirely different histories.
883ff8b7d1
...
750a4dc3db
24
Dockerfile
24
Dockerfile
@ -1,24 +0,0 @@
|
|||||||
FROM golang:1.20-alpine AS build
|
|
||||||
|
|
||||||
RUN apk --no-cache add tzdata
|
|
||||||
|
|
||||||
WORKDIR /src
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
# RUN CGO_ENABLED=0 GOOS=linux go build -o /app cmd/klinik-core-service
|
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /app cmd/legalgo/main.go
|
|
||||||
|
|
||||||
RUN ls -la /
|
|
||||||
|
|
||||||
FROM gcr.io/distroless/static
|
|
||||||
|
|
||||||
WORKDIR /
|
|
||||||
|
|
||||||
COPY --from=build /usr/share/zoneinfo /usr/share/zoneinfo
|
|
||||||
COPY --from=build /app /app
|
|
||||||
|
|
||||||
# RUN ls -la /
|
|
||||||
|
|
||||||
ENV TZ=Asia/Jakarta
|
|
||||||
|
|
||||||
ENTRYPOINT ["/app"]
|
|
||||||
Loading…
x
Reference in New Issue
Block a user