docker-compose.yml 282 Bytes
Newer Older
wenom64's avatar
wenom64 committed
1 2 3 4
version: '3'

services:
    web:
wenom64's avatar
wenom64 committed
5 6
        image: node:lts-alpine
        working_dir: /app
wenom64's avatar
wenom64 committed
7 8 9 10
        volumes:
            - .:/app
        ports:
            - "8080:8080"
wenom64's avatar
wenom64 committed
11 12
        command: sh -c "yarn install && yarn run serve"
#        command: sh -c "yarn install && yarn run build"