mirror of https://github.com/dapr/docs.git
Add mandatory `dapr init` step to Self-Hosted Mode in Container Docs (#2303)
I followed the docs to ship Dapr together with an app inside the same container and came across the issue that `daprd` in the `ENTRYPOINT` was not available until i initialized dapr in slim mode. Signed-off-by: Robin-Manuel Thiel <robin-manuel@thiel1.de> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
d11caff869
commit
0dcbbf3be4
|
@ -67,6 +67,7 @@ RUN wget -q https://raw.githubusercontent.com/dapr/cli/master/install/install.sh
|
|||
ARG DAPR_BUILD_DIR
|
||||
COPY $DAPR_BUILD_DIR /opt/dapr
|
||||
ENV PATH="/opt/dapr/:${PATH}"
|
||||
RUN dapr init --slim
|
||||
|
||||
# Install your app
|
||||
WORKDIR /app
|
||||
|
@ -176,4 +177,4 @@ There are published Docker images for each of the Dapr components available on [
|
|||
- `latest-arm`: The latest release version for ARM, **ONLY** use for development purposes.
|
||||
- `edge-arm`: The latest edge build for ARM (master).
|
||||
- `major.minor.patch-arm`: A release version for ARM.
|
||||
- `major.minor.patch-rc.iteration-arm`: A release candidate for ARM.
|
||||
- `major.minor.patch-rc.iteration-arm`: A release candidate for ARM.
|
||||
|
|
Loading…
Reference in New Issue