Skip to content

anastasiakaida/test_docker_nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solution

Basic authentication

Password file was generated with htpasswd utility from apache2-utils. Not sure if it is a safe way to provide a file in repo, but this is the simplest way.

Running docker

Building image

docker build -t <image_name> .

Running container

docker run -d --name <container_name> -p 80:80 <image_name>

run.sh tool

In another project at CERN I used to write something using bash. run.sh tool is just a way to run a container in one command. :)

./run.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published