Skip to content

Commit

Permalink
fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Jul 28, 2023
1 parent 9ece220 commit da08168
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ jobs:
### Release Artifacts
| Release File | Description |
| ------------- | ------------- |
| explorer_windows_amd64.exe | explorer executable for windows (64bit) |
| explorer_linux_amd64 | explorer executable for linux (64bit) |
| explorer_darwin_amd64 | explorer executable for macos (64bit) |
| [explorer_windows_amd64.exe](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_windows_amd64.exe) | explorer executable for windows (64bit) |
| [explorer_linux_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_linux_amd64) | explorer executable for linux (64bit) |
| [explorer_darwin_amd64](https://github.com/pk910/light-beaconchain-explorer/releases/download/snapshot/explorer_darwin_amd64) | explorer executable for macos (64bit) |
env:
GITHUB_TOKEN: ${{ github.token }}

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ WORKDIR /src
RUN go mod download
ADD . /src
ARG target=linux
RUN make -B $target
RUN make $target

# final stage
FROM alpine:latest
FROM debian:stable-slim
WORKDIR /app
COPY --from=build-env /src/bin /app/
COPY --from=build-env /src/bin/explorer_linux_amd64 /app
COPY --from=build-env /src/config /app/config
EXPOSE 8080
ENTRYPOINT ["./explorer_linux_amd64"]
Expand Down

0 comments on commit da08168

Please sign in to comment.