File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Deriving the latest .NET Core 3.1 base image
2
+ FROM mcr.microsoft.com/dotnet/runtime:3.1
3
+
4
+ # Opt-out from the .NET diagnostic pipeline
5
+ ENV DOTNET_EnableDiagnostics=0
6
+
7
+ # Label the authors
8
+ LABEL Maintainer="AlexanderNorup & Rikj000"
9
+
10
+ # Prepare environment (Create folder, update system, install unzip & clean the system)
11
+ RUN mkdir /clean-chat-acc && apt-get update && apt-get -y install unzip && apt-get clean
12
+
13
+ # Set the app working directory
14
+ WORKDIR /clean-chat-acc
15
+
16
+ # Download the latest CleanChat-ACC and add her into the container
17
+ ADD https://drive.alexandernorup.com/CleanChat/latest.zip ./
18
+
19
+ # Extract CleanChat-ACC and remove the remaining .zip
20
+ RUN unzip latest.zip && rm latest.zip
21
+
22
+ # Copy the local config.json file from the working directory into the container
23
+ COPY ./config.json ./
24
+
25
+ # Run the CleanChat AutoClearChannel Bot!
26
+ ENTRYPOINT ["dotnet" , "CleanChat-AutoClearChannel.dll" ]
You can’t perform that action at this time.
0 commit comments