Refactor Dockerfile and build script: streamline .NET SDK installation and update run instructions

This commit is contained in:
2025-07-07 00:28:17 +02:00
parent ca70979c85
commit a8c0bce094
2 changed files with 8 additions and 4 deletions

View File

@@ -6,11 +6,16 @@ docker build -t wine-dotnet:latest .
if [ $? -eq 0 ]; then
echo "✅ Docker image built successfully!"
echo "To run the container:"
echo ""
echo "To run the container interactively:"
echo "docker run -it --rm wine-dotnet:latest"
echo ""
echo "To run with volume mounting (for development):"
echo "docker run -it --rm -v \$(pwd)/projects:/home/wineuser/projects wine-dotnet:latest"
echo ""
echo "To run a .NET application with Wine:"
echo "docker run -it --rm -v \$(pwd)/projects:/home/wineuser/projects wine-dotnet:latest"
echo "Then inside the container: wine dotnet YourApp.dll"
else
echo "❌ Failed to build Docker image"
exit 1