1
0
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:
2025-12-24 01:00:32 +01:00
parent da78ebc014
commit 491a961e0a

View File

@@ -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`