-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added Petabridge.Cmd client install to lighthouse container (#9)
- Loading branch information
1 parent
cff7a31
commit d83c251
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,23 @@ | ||
FROM microsoft/dotnet:2.0-runtime AS base | ||
FROM microsoft/dotnet:2.1-sdk AS base | ||
WORKDIR /app | ||
|
||
# should be a comma-delimited list | ||
ENV CLUSTER_SEEDS "[]" | ||
ENV CLUSTER_IP "" | ||
ENV CLUSTER_PORT "4053" | ||
|
||
COPY ./bin/Release/netcoreapp2.0/publish/ /app | ||
COPY ./bin/Release/netcoreapp2.1/publish/ /app | ||
|
||
# 9110 - Petabridge.Cmd | ||
# 4053 - Akka.Cluster | ||
EXPOSE 9110 4053 | ||
|
||
# Install Petabridge.Cmd client | ||
RUN dotnet tool install --global pbm | ||
|
||
# Needed because https://stackoverflow.com/questions/51977474/install-dotnet-core-tool-dockerfile | ||
ENV PATH="${PATH}:/root/.dotnet/tools" | ||
|
||
RUN pbm help | ||
|
||
CMD ["dotnet", "Lighthouse.dll"] |