Created
April 10, 2025 19:27
-
-
Save bjoerntx/643238aa866e22131cdfeb40614a22e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use the official .NET 8.0 runtime image | |
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base | |
# Set the working directory inside the container | |
WORKDIR /app | |
# Copy the TXTextControl.Web.Server folder contents to the container | |
COPY TXTextControl.Web.Server/ . | |
# Expose default ASP.NET port (optional, depending on your app config) | |
EXPOSE 4282 | |
# Start the application | |
ENTRYPOINT ["dotnet", "TXTextControl.Web.Server.Core.dll"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment