Skip to content

SpaceApi-archive/temp-new-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spaceapi.net Website

CircleCI Docker Image

Docker Based Setup

First, build the image:

$ docker build -t spaceapi/website:latest .

Then start a container:

$ docker run --rm --name spaceapi -d -p 8080:80 spaceapi/website:latest

The website should now run on localhost:8080.

If you want, you can also mount the local source code into the container for easier development:

$ docker run --rm --name spaceapi -d -p 8080:80 -v $(pwd)/src/:/var/www/html/ spaceapi/website:latest

To watch the logs:

$ docker log -f spaceapi

To stop and remove the container:

$ docker stop spaceapi

Docker Image

The Docker image is automatically built and published to https://hub.docker.com/r/spaceapi/website/ when pushing to master.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published