Skip to content

Commit

Permalink
chore: remove volumes from docker-compose (uber#7)
Browse files Browse the repository at this point in the history
These volumes are occasionally leveraged for Dockerfile layer caching, but are not needed for BaseUI as we add all necessary files within the Dockerfile. Remove the mounts to reduce unnecessary config.
  • Loading branch information
KevinGrandon authored and Nadiia Dmytrenko committed Aug 10, 2018
1 parent c521767 commit 064955d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ services:
# Define the service, which is used in pipeline.yml
baseui:
build: .
volumes:
# Mount the current source directory (if not copied in Dockerfile)
- .:/baseui
- /baseui/node_modules/
environment:
# Pass through any necessary environment variables
- CODECOV_TOKEN
Expand All @@ -17,4 +13,4 @@ services:
- BUILDKITE_JOB_ID
- BUILDKITE_BUILD_URL
- BUILDKITE_PROJECT_SLUG
- BUILDKITE_COMMIT
- BUILDKITE_COMMIT

0 comments on commit 064955d

Please sign in to comment.