mirror of
https://github.com/Kizuren/QuizConnect.git
synced 2025-12-22 05:26:25 +01:00
Updated docker files
This commit is contained in:
parent
ea82926500
commit
17eb8b4063
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue