Newer
Older
hello-programmer-world / docker-compose.build.yml
services:
  site-build:
    build:
      context: .
      target: build
    user: "${UID:-1000}:${GID:-1000}"
    command: sh -lc 'find /output -mindepth 1 -maxdepth 1 -exec rm -rf {} + && cp -R /app/dist/. /output/'
    volumes:
      - ./dist:/output