10 lines
353 B
YAML
10 lines
353 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
app:
|
|
image: node:23-alpine
|
|
container_name: learn-react
|
|
working_dir: /root/
|
|
ports:
|
|
- "58701:4000"
|
|
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"
|