Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Introduction

You'll need to have the Docker tools installed, which you can get from https://www.docker.com/products/docker.
We tested using Docker for Windows, but it shouldn't make any difference which platform you're on.

If you're not familiar with Docker, you can read more about it at Docker.com.

How to build a Docker image

Text in bold denotes commands to be run at the prompt.

 

  1. Open a Command Prompt, or console and create a working directory (mkdir unimus), then change into that directory (cd unimus).
  2. Create a sub-directory called content (mkdir content), and download a copy of Unimus.jar into the content directory.
  3. In the working folder, create a file called Dockerfile, with the following contents:

 

FROM java:8
ADD content /usr/src/app
WORKDIR /usr/src/app
ENTRYPOINT ["java", "-jar", "./Unimus.jar"]
EXPOSE 8085

 

 

 

Tips

Credit

All credit for this guide goes to X-Cubed, here is the original forum topic:
https://forum.unimus.net/viewtopic.php?f=4&t=39

  • No labels