You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the volumes are not specified at in the docker-compose.yml snippet. It tripped me up as I was copying and pasting the changes rather than doing it manually.
services:
spuc:
# image: spuacv/spuc:latest
build: # Instead of using the 'image' key, we use the 'build' key
context: . # Sets the build context (the directory in which the Dockerfile is located)
dockerfile: Dockerfile # Sets the name of the Dockerfile
container_name: spuc_container
ports:
- 8321:8321
volumes:
- ./print.config:/spuc/config/print.config
- spuc-volume:/spuc/output
- ./stats.py:/spuc/plugins/stats.py
environment:
- EXPORT=true
command: ["--units", "iulu"]
volumes:
spuc-volume:
The text was updated successfully, but these errors were encountered:
the
volumes
are not specified at in the docker-compose.yml snippet. It tripped me up as I was copying and pasting the changes rather than doing it manually.See - https://uomresearchit.github.io/docker-introduction/docker-compose.html#building-containers-in-docker-compose
it should be -
The text was updated successfully, but these errors were encountered: