In Visual Studio with the application opened that should be deployed, right-click the project in the Solution Explorer and choose Publish. A text file named Dockerfile (no extension). The following steps are required to prepare a build process:Ĭreate a new folder named docker-test that contains the following sub-folders and files: If you see a long base64 encoded string, the Web API works.Ī Docker container image is a lightweight, standalone, executable package of software that includes everything needed to run an application: code, runtime, system tools, system libraries and settings.Ī Docker image is created automatically based on a Dockerfile by reading the instructions. It should return a long base64 encoded string which is essentially a PDF with the word Test. Navigate to (replace the port number with the port number of your application): Start the application and navigate to the endpoint directly to test the functionality.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |