https://hub.docker.com/r/hacknlove/dotgis-challenge
docker run --name=dotgis-challenge --restart=always -d -p 5000:80 hacknlove/dotgis-challenge:latest
This project was bootstrapped with Create React App. You can learn more in the Create React App documentation.
npm startnpm testnpm run buildnpm run eject
Builds a docker image, with the mane and versión from package.json and uploads it to the docker hub
You must be logged in docker hub with the apropiate account.
Builds and serves the production environment
Serves the production environment from the last docker image
docker-compose.yml
version: '3.2'
services:
static:
restart: always
image: hacknlove/dotgis-challenge:latest
logging:
driver: json-file
options:
max-size: "200k"
max-file: "10"
expose:
- 80
networks:
- web
labels:
- "traefik.port=80"
- "traefik.enable=true"
- "traefik.frontend.rule=Host:example.com"
- "traefik.docker.network=web"
networks:
web:
external: true