Skip to content

justincormack/screeps-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

screeps-docker

Dockerlized Screeps.

Build

docker build -t screeps .

With Version

VERSION=4.2.12
docker build --build-arg "version=${VERSION}" -t screeps .

alpine

docker build -t screeps:alpine -f Dockerfile-alpine .

With Version

VERSION=4.2.12
docker build --build-arg "version=${VERSION}"  -f Dockerfile-alpine -t screeps .

Pre-built Image

See in Docker Hub

docker pull yz89122/screeps

With Version

VERSION=4.2.12
docker pull "yz89122/screeps:${VERSION}"

alpine

docker pull yz89122/screeps:alpine

With Version

VERSION=4.2.12
docker pull "yz89122/screeps:alpine-${VERSION}"

Run

  1. Generate configurations

    docker run -it --rm -v "$PWD/screeps-data:/app" screeps npx screeps init

    Then enter your Steam API key

  2. Start

    docker run -d -v "$PWD/screeps-data:/app" -p "21025:21025" screeps

    Then the screeps server will listening on port 21025

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 78.6%
  • Dockerfile 21.4%