Add EXPOSE port to Dockerfile

This commit is contained in:
Thomas Payet 2020-05-04 12:07:55 +02:00
parent bd1929695c
commit dee12c9c4d
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
## v0.10.2 ## v0.10.2
- Add support for configuring the lmdb map size (#646, #647) - Add support for configuring the lmdb map size (#646, #647)
- Add exposed port for Dockerfile (#654)
## v0.10.1 ## v0.10.1

View File

@ -24,4 +24,5 @@ RUN apk add libgcc
COPY --from=compiler /meilisearch/target/release/meilisearch . COPY --from=compiler /meilisearch/target/release/meilisearch .
ENV MEILI_HTTP_ADDR 0.0.0.0:7700 ENV MEILI_HTTP_ADDR 0.0.0.0:7700
EXPOSE 7700/tcp
CMD ./meilisearch CMD ./meilisearch