Skip to content

DevExpress-Examples/dockerize-office-file-api-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Dockerize an Office File API Application

This example shows how to create an ASP.NET Core Web API application that uses the Office File API library to convert Excel and Word documents to HTML on the server. The project contains a Dockerfile that specifies how to build the application in a Docker container.

Build the Docker Image

Obtain a DevExpress NuGet Feed URL and add your feed authorization key to the Dockerfile to specify the package source for the DevExpress.Document.Processor NuGet package.

Use the following commands to build and run the docker image:

docker build -t documentconversionwebapi .
docker run -d -p 8080:80 documentconversionwebapi

Use the Thunder Client VS Code extension to test the application.

Docker Files

Files to Look At

Documentation