Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Dockerfile and docs #287

Merged
merged 2 commits into from
Apr 2, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1.3.1
FROM rust:1.82-bookworm as builder
FROM rust:1.85.1-bookworm as builder
WORKDIR /app
COPY . .
RUN cargo build --release
Expand All @@ -8,4 +8,4 @@ FROM debian:bookworm
RUN apt-get update && apt-get install -y libssl-dev
WORKDIR /app
COPY --from=builder /app/target/release/edgee /app/edgee
ENTRYPOINT ["/app/edgee", "serve"]
ENTRYPOINT ["/app/edgee"]
14 changes: 13 additions & 1 deletion README-proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ docker run \
-v $PWD/wasm:/var/edgee/wasm \
-p80:80 \
-p443:443 \
edgeecloud/edgee
edgeecloud/edgee \
serve
```

Or as part of a `docker-compose.yml`:
Expand All @@ -59,6 +60,17 @@ service:
- "./wasm:/var/edgee/wasm"
```

##### Note for macOS ARM chips

In case you encounter the error "no match for platform in manifest: not found", simply pull the image as follows:

```shell

docker pull edgeecloud/edgee:latest --platform linux/amd64
```

And then use the `docker run` command as usual.

#### Building from source

Build the Rust package using Cargo:
Expand Down