![]() ![]() ![]() The Dockerfile should now look something like this: RUN apt-get install -y libpng-dev libjpeg-dev curl libxi6 build-essential libgl1-mesa-glx Be sure to add these lines both in the first section, to add the installation of the Node package manager npm.exe to the base image, as well as in the build section. Open the Dockerfile in the project, and add the following lines to install curl, Node.js 14.x, and certain required Node libraries in the container. Refer to Dockerfile reference for an understanding of the commands within it. Modify the Dockerfile (Linux containers)Ī Dockerfile, the recipe for creating a final Docker image, is created in the project. The next step is different depending on whether you're using Linux containers or Windows containers. Right-click on the project node, and choose Add > Docker Support to add a Dockerfile to your project. On the Additional information screen, you can't select Enable Docker Support, but don't worry, you can add that support later. Create a new project using the ASP.NET Core with React.js template.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |