Rename the meilisearch-http binary into meilisearch
This commit is contained in:
parent
7cc096e0a2
commit
00d1200704
|
@ -14,11 +14,11 @@ jobs:
|
|||
os: [ubuntu-latest, macos-latest]
|
||||
include:
|
||||
- os: ubuntu-latest
|
||||
artifact_name: meilisearch-http
|
||||
asset_name: meilisearch-http-linux-amd64
|
||||
artifact_name: meilisearch
|
||||
asset_name: meilisearch-linux-amd64
|
||||
- os: macos-latest
|
||||
artifact_name: meilisearch-http
|
||||
asset_name: meilisearch-http-macos-amd64
|
||||
artifact_name: meilisearch
|
||||
asset_name: meilisearch-macos-amd64
|
||||
|
||||
steps:
|
||||
- uses: hecrj/setup-rust-action@master
|
||||
|
|
|
@ -23,7 +23,7 @@ RUN apk update --quiet
|
|||
RUN apk add libressl
|
||||
RUN apk add build-base
|
||||
|
||||
COPY --from=compiler /meilisearch/target/release/meilisearch-http .
|
||||
COPY --from=compiler /meilisearch/target/release/meilisearch .
|
||||
|
||||
ENV MEILI_HTTP_ADDR 0.0.0.0:8080
|
||||
CMD ./meilisearch-http
|
||||
CMD ./meilisearch
|
||||
|
|
|
@ -7,6 +7,10 @@ authors = [
|
|||
]
|
||||
edition = "2018"
|
||||
|
||||
[[bin]]
|
||||
name = "meilisearch"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
bincode = "1.2.0"
|
||||
chrono = { version = "0.4.9", features = ["serde"] }
|
||||
|
|
Loading…
Reference in New Issue