FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NotifierRedirecter/Dockerfile at main · DSharpPlus/NotifierRedirecter · GitHub
This repository was archived by the owner on Apr 23, 2025. It is now read-only.
DSharpPlus
/
NotifierRedirecter
Public archive
Notifications
You must be signed in to change notification settings
Fork
4
Star
5
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
NotifierRedirecter
/
Dockerfile
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (16 loc) · 626 Bytes
Breadcrumbs
NotifierRedirecter
/
Dockerfile
Copy path
File metadata and controls
20 lines (16 loc) · 626 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM
mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build
ARG
VERSION=1.0.0
WORKDIR
/src
COPY
./ /src
RUN
apk add git \
&& git submodule update --init --recursive \
&& sed -i
"s/<Version>.*<
\/
Version>/<Version>${VERSION}<
\/
Version>/"
src/NotifierRedirecter.csproj \
&& dotnet publish -c Release -r linux-musl-x64
FROM
mcr.microsoft.com/dotnet/runtime:8.0-alpine
WORKDIR
/src
COPY
--from=build /src/src/bin/Release/net8.0/linux-musl-x64/publish /src
RUN
apk upgrade --update-cache --available \
&& apk add openssl icu-libs \
&& apk del git \
&& rm -rf /var/cache/apk/*
ENTRYPOINT
/src/NotifierRedirecter
Back
|
FazBrowse Home
|
New Git URL