ReactLearn/docker-compose.yml

11 lines
353 B
YAML
Raw Normal View History

2024-11-17 06:11:04 +01:00
version: '3.8'
services:
app:
image: node:23-alpine
container_name: learn-react
2024-11-17 06:16:51 +01:00
working_dir: /root/
2024-11-17 06:11:04 +01:00
ports:
- "58701:4000"
2024-11-17 06:16:51 +01:00
command: sh -c "apk add --no-cache yarn git && git clone https://git.kagurach.uk/kagura/ReactLearn.git && cd ReactLearn && yarn install && yarn build && yarn global add serve && serve -s build -l 4000"