Updated docker files

This commit is contained in:
MarcUs7i 2025-04-18 19:47:12 +02:00
parent ea82926500
commit 17eb8b4063
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base
USER $APP_UID USER $APP_UID
WORKDIR /app WORKDIR /app
EXPOSE 9500 EXPOSE 8080
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build
ARG BUILD_CONFIGURATION=Release ARG BUILD_CONFIGURATION=Release

View file

@ -6,7 +6,7 @@
environment: environment:
- APP_UID=1000 - APP_UID=1000
ports: ports:
- "9500:9500" - "8080:8080"
volumes: volumes:
- ./Server/.env:/app/.env - ./Server/.env:/app/.env
restart: unless-stopped restart: unless-stopped

View file

@ -5,7 +5,7 @@
environment: environment:
- APP_UID=1000 - APP_UID=1000
ports: ports:
- "9500:9500" - "8080:8080"
volumes: volumes:
- ./Server/.env:/app/.env - ./Server/.env:/app/.env
restart: unless-stopped restart: unless-stopped