-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from CirclesUBI/feature/support-nethermind-plugin
Add dockerfile for the export util
- Loading branch information
Showing
3 changed files
with
39 additions
and
10 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 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,16 @@ | ||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS publish | ||
ENV DOTNET_EnableDiagnostics=0 | ||
WORKDIR /app | ||
COPY . . | ||
RUN cd CirclesUBI.PathfinderUpdater.Updater && dotnet restore "CirclesUBI.PathfinderUpdater.Updater.csproj" | ||
RUN cd CirclesUBI.PathfinderUpdater.Updater && dotnet build "CirclesUBI.PathfinderUpdater.Updater.csproj" -c Release -o /app/build | ||
RUN cd CirclesUBI.PathfinderUpdater.Updater && dotnet publish "CirclesUBI.PathfinderUpdater.Updater.csproj" -c Release -o /app/publish | ||
|
||
FROM mcr.microsoft.com/dotnet/runtime:8.0 | ||
LABEL org.opencontainers.image.source=https://github.com/circlesland/pathfinder2-updater | ||
ENV DOTNET_EnableDiagnostics=0 | ||
|
||
WORKDIR /app | ||
COPY --from=publish /app/publish . | ||
RUN chmod +x ./CirclesUBI.PathfinderUpdater.ExportUtil | ||
ENTRYPOINT ["./CirclesUBI.PathfinderUpdater.ExportUtil"] |
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