# Use Nano Server, version 1809 amd64 with ASP.NET Core Runtime as the base image.
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809

# Set working directory.
WORKDIR /injaz

# Copy published files into the container.
COPY Api/. ./Api/

# Expose ports 8080 and 8081.
EXPOSE 8080
EXPOSE 8081

# Define the entry point.
ENTRYPOINT ["dotnet", "Api/Sky.BayanInjaz.WebAPI.dll"]
