Skip to content

Commit

Permalink
fix: dockerfile versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Reecepbcups committed Oct 8, 2024
1 parent 3486499 commit b77b234
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.local-interchain
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# docker build . -t local-interchain:local -f Dockerfile.local-interchain
# docker run -it local-interchain:local

FROM golang:1.22.2 as builder
FROM golang:1.22.5 AS builder

# Set destination for COPY
WORKDIR /app
Expand All @@ -22,11 +22,11 @@ RUN cd local-interchain && make build
RUN mv ./bin/local-ic /go/bin

# Reduces the size of the final image from 7GB -> 0.1GB
FROM busybox:1.35.0 as final
FROM busybox:1.35.0 AS final
RUN mkdir -p /usr/local/bin
COPY --from=builder /go/bin/local-ic /usr/local/bin/local-ic

EXPOSE 8080

# Run
CMD ["local-ic"]
CMD ["local-ic"]

0 comments on commit b77b234

Please sign in to comment.