mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 08:14:26 +01:00
Fix formatting
This commit is contained in:
parent
4009804221
commit
2ef58ccce9
16
Dockerfile
16
Dockerfile
@ -36,16 +36,16 @@ RUN $HOME/.cargo/bin/cargo build --release
|
|||||||
FROM alpine:3.14
|
FROM alpine:3.14
|
||||||
|
|
||||||
ARG USER=meiliuser
|
ARG USER=meiliuser
|
||||||
ENV HOME /home/$USER
|
ENV HOME /home/${USER}
|
||||||
ENV MEILI_HTTP_ADDR 0.0.0.0:7700
|
ENV MEILI_HTTP_ADDR 0.0.0.0:7700
|
||||||
|
|
||||||
# download runtime deps as root and create $USER
|
# download runtime deps as root and create ${USER}
|
||||||
RUN apk add -q --no-cache libgcc tini curl \
|
RUN apk add -q --no-cache libgcc tini curl \
|
||||||
&& adduser -D $USER
|
&& adduser -D ${USER}
|
||||||
WORKDIR $HOME
|
WORKDIR ${HOME}
|
||||||
USER $USER
|
USER ${USER}
|
||||||
# copy file as $USER to $HOME
|
# copy file as ${USER} to ${HOME}
|
||||||
COPY --from=compiler /meilisearch/target/release/meilisearch .
|
COPY --from=compiler /meilisearch/target/release/meilisearch .
|
||||||
|
|
||||||
EXPOSE 7700/tcp
|
EXPOSE 7700/tcp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user