Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Latest commit

 

History

History
30 lines (19 loc) · 646 Bytes

SETUP.md

File metadata and controls

30 lines (19 loc) · 646 Bytes

Without docker

You need node.js to build this application:

npm install
npm run build

The content of the build folder can be deployed on any static file hoster.

With docker

docker build -t spyfall .
docker run -it --rm -p8080:8080 spyfall

or use the prebuilt image: docker run -it --rm -p8080:8080 ghcr.io/knrdl/spyfall:edge

Development

docker run -it --rm -v "$PWD:$PWD" -w "$PWD" node:alpine npm install

docker run -it --rm -v "$PWD:$PWD" -w "$PWD" -p8080:8080 node:alpine npm run dev -- --host 0.0.0.0 --port 8080

docker run -it --rm -v "$PWD:$PWD" -w "$PWD" node:alpine npm run build