-
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.
- Loading branch information
1 parent
520d1ff
commit d59728b
Showing
5 changed files
with
40 additions
and
27 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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
FROM microsoft/dotnet:1.1-sdk AS build-env | ||
WORKDIR /app | ||
|
||
ENV ACTORSYSTEM "lighthouse" | ||
|
||
# should be a comma-delimited list | ||
ENV SEEDS "[]" | ||
|
||
COPY src/Lighthouse/*.csproj ./ | ||
RUN dotnet restore | ||
|
||
COPY src/Lighthouse ./ | ||
RUN dotnet publish -c Release --framework netcoreapp1.1 -o out | ||
|
||
FROM microsoft/dotnet:1.1-runtime AS runtime | ||
WORKDIR /app | ||
COPY --from=build-env /app/out ./ | ||
COPY --from=build-env /app/get-dockerip.sh ./get-dockerip.sh | ||
ENTRYPOINT ["/bin/bash","get-dockerip.sh"] | ||
|
||
# 9110 - Petabridge.Cmd | ||
# 4053 - Akka.Cluster | ||
EXPOSE 9110 4053 | ||
|
||
CMD ["dotnet", "Lighthouse.dll"] |
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
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