Skip to content

Default website files #37

@kappsegla

Description

@kappsegla

When starting the server in a docker container we want a folder named /webroot to contain all our files that the server should be able to server. To change them we can use the command docker run -v /host/path:/webroot to mount a folder from the host containing our website.

But when starting the container without a mount it would be good to have some default file like an index.html file added in the /webroot folder of the docker image.

Create a folder containing an index.html file with some valid Html5 code in it. If using an image as logotype for our server put the image in the same folder. Try to keep the filesizes small.
Update Dockerfile to copy this folder into the /webroot folder of the docker image.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions