mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:47:23 +01:00
server ban update, remove reporting
This commit is contained in:
parent
c1f28cadd5
commit
713d054ccb
28 changed files with 2130 additions and 272 deletions
30
Docker/build/Dockerfile-MareSynchronosAuthService-git
Normal file
30
Docker/build/Dockerfile-MareSynchronosAuthService-git
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
FROM mcr.microsoft.com/dotnet/sdk:8.0 as BUILD
|
||||
|
||||
RUN git clone --recurse-submodules https://github.com/Penumbra-Sync/server
|
||||
|
||||
WORKDIR /server/MareSynchronosServer/MareSynchronosAuthService/
|
||||
|
||||
RUN dotnet publish \
|
||||
--configuration=Release \
|
||||
--os=linux \
|
||||
--output=/MareSynchronosAuthService \
|
||||
MareSynchronosAuthService.csproj
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:8.0
|
||||
|
||||
RUN adduser \
|
||||
--disabled-password \
|
||||
--group \
|
||||
--no-create-home \
|
||||
--quiet \
|
||||
--system \
|
||||
mare
|
||||
|
||||
COPY --from=BUILD /MareSynchronosAuthService /opt/MareSynchronosAuthService
|
||||
RUN chown -R mare:mare /opt/MareSynchronosAuthService
|
||||
RUN apt-get update; apt-get install curl -y
|
||||
|
||||
USER mare:mare
|
||||
WORKDIR /opt/MareSynchronosAuthService
|
||||
|
||||
CMD ["./MareSynchronosAuthService"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue