Skip to content

Commit

Permalink
Further optimizations of the container.
Browse files Browse the repository at this point in the history
  • Loading branch information
ygerasimov committed Aug 2, 2024
1 parent fd3ed9b commit e49bb8c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 12 deletions.
6 changes: 0 additions & 6 deletions diffy/Dockerfile

This file was deleted.

6 changes: 1 addition & 5 deletions docker-compose.diffy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,16 @@
services:
diffy:
container_name: ddev-${DDEV_SITENAME}-diffy
build:
context: 'diffy'
image: 'diffywebsite2/screenshot-worker:0.0.2'
user: '$DDEV_UID:$DDEV_GID'
restart: "no"
command: tail -f /dev/null
# These labels ensure this service is discoverable by ddev.
labels:
com.ddev.site-name: ${DDEV_SITENAME}
com.ddev.approot: $DDEV_APPROOT
environment:
- DDEV_HOSTNAME
- npm_config_cache=/mnt/ddev-global-cache/npm
- NODE_NO_WARNINGS=1
working_dir: "/diffy-worker"
volumes:
- ".:/mnt/ddev_config"
- "ddev-global-cache:/mnt/ddev-global-cache"
Expand Down
1 change: 0 additions & 1 deletion install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ project_files:
- docker-compose.diffy.yaml
- commands/diffy/screenshot
- config.diffy.yaml
- diffy/Dockerfile

# List of files and directories that are copied into the global .ddev directory
# DDEV environment variables can be interpolated into these filenames
Expand Down

0 comments on commit e49bb8c

Please sign in to comment.