Skip to content

Commit

Permalink
Update Dockerfile and fix docker build failed
Browse files Browse the repository at this point in the history
  • Loading branch information
nekoteoj committed Jan 2, 2024
1 parent 33e9b09 commit 86492ec
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
FROM golang:latest
FROM golang:1.18

RUN mkdir /trezord-go
WORKDIR /trezord-go
COPY ./scripts/run_in_docker.sh /trezord-go
COPY . /trezord-go

RUN apt-get update
RUN apt-get install -y redir

RUN go get github.com/trezor/trezord-go
RUN go build github.com/trezor/trezord-go
RUN go build .

ENTRYPOINT '/trezord-go/run_in_docker.sh'
ENTRYPOINT '/trezord-go/scripts/run_in_docker.sh'
EXPOSE 11325

0 comments on commit 86492ec

Please sign in to comment.