mirror of
https://github.com/Investigamer/cardconjurer.git
synced 2025-09-15 17:03:19 -05:00
20 lines
395 B
Makefile
20 lines
395 B
Makefile
.PHONY: start stop
|
|
|
|
start:
|
|
docker build \
|
|
--file Dockerfile \
|
|
--target "prod" \
|
|
--tag "cardconjurer-client" \
|
|
. && \
|
|
docker run \
|
|
--detach \
|
|
--hostname 127.0.0.1 \
|
|
--publish 4242:4242 \
|
|
--name cardconjurer-client \
|
|
--volume ./local_art/:/usr/share/nginx/html/local_art/:ro \
|
|
"cardconjurer-client"
|
|
|
|
stop:
|
|
docker stop cardconjurer-client && \
|
|
docker rm cardconjurer-client
|