File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44
55# Build image
66# Builds output under /herbie/egg-herbie
7- FROM rust:1.61.0 as egg-herbie-builder
7+ FROM --platform=linux/amd64 rust:1.61.0 AS egg-herbie-builder
88WORKDIR /herbie
99COPY egg-herbie egg-herbie
1010RUN cargo build --release --manifest-path=egg-herbie/Cargo.toml
1111
1212# Production image
13- FROM racket/racket:8.13-full AS production
14- MAINTAINER Pavel Panchekha <
[email protected] >
13+ FROM --platform=linux/amd64 racket/racket:8.13-full AS production
14+ LABEL maintainer= " Pavel Panchekha <[email protected] >" 1515COPY --from=egg-herbie-builder /herbie/egg-herbie /src/egg-herbie
1616RUN raco pkg install /src/egg-herbie
1717COPY src /src/herbie
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ <h2>Building the Docker image</h2>
147147
148148 < pre class ="shell "> docker run -p 8000:80 -it uwplse/herbie:test</ pre >
149149
150- < p > The web demo should now be visiable at < code > http://localhost:8000</ code > .</ p >
150+ < p > The web demo should now be visible at < code > http://localhost:8000</ code > .</ p >
151151
152152 < p > To open a shell in a running container for testing, first get the container ID with:</ p >
153153
You can’t perform that action at this time.
0 commit comments