mirror of
https://github.com/tiyn/dockerfiles.git
synced 2025-12-31 05:39:46 +01:00
changed build command
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# Gopher server
|
# Gopher Server
|
||||||
|
|
||||||
This is a dockerized version of a gopher server.
|
This is a dockerized version of a Gopher server.
|
||||||
|
|
||||||
## Environment-variables
|
## Environment-variables
|
||||||
|
|
||||||
@@ -28,9 +28,6 @@ Set the following ports with the -p tag.
|
|||||||
|
|
||||||
## Example run-command
|
## Example run-command
|
||||||
|
|
||||||
Either use the docker image `tiynger/gopherserver` or run
|
Run `docker build . -t gopher-server` in the top directory of this repository.
|
||||||
`docker build . -t gopherserver` in the top directory of this repository.
|
|
||||||
If so you need to change the command below apropiately
|
|
||||||
(`tiynger/gopherserver` to `gopherserver`).
|
|
||||||
|
|
||||||
`docker run --name gopherserver -v gopherwebdir:/var/gopher -p 70:70 --restart unless-stopped -e SERVER_NAME=<domain/ip_here> -d tiynger/gopherserver`
|
`docker run --name gopher-server -v gopherwebdir:/var/gopher -p 70:70 --restart unless-stopped -e SERVER_NAME=<domain/ip_here> -d gopher-server`
|
||||||
|
|||||||
Reference in New Issue
Block a user