blob: ce7ac5d22b37b0e5dc31c37f755c35899192135e [file] [log] [blame]
# Copyright 2020 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
version: '3'
services:
npm:
build:
context: ../../
dockerfile: devtools/config/Dockerfile.npm
image: pkgsite_npm
init: true
volumes:
- ../..:/pkgsite
# Mounts empty volumes in place of git directories so they can't
# be written to during npm package installs.
- /pkgsite/.git
- /pkgsite/private/.git