.
This commit is contained in:
@ -1,8 +1,14 @@
|
||||
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
|
||||
|
||||
FROM mcr.microsoft.com/dotnet/aspnet:7.0
|
||||
RUN apt-get update && apt-get install -y libfontconfig1
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
EXPOSE 80
|
||||
EXPOSE 5180
|
||||
|
||||
ARG UID=1026
|
||||
ARG GID=100
|
||||
RUN useradd -m -u ${UID} tsanie
|
||||
USER ${UID}:${GID}
|
||||
|
||||
ENTRYPOINT ["dotnet", "Server.dll"]
|
Reference in New Issue
Block a user