I am learning docker
I need to specify the working directory for the docker image, I think it will be something like this:
version: '2' services: test: build: context: ./dir
Now I want to make a python:onbuild to run in ./dir , but I do not want to create any Dockerfile inside ./dir .
The docker-compose manual doesn't say anything about this.
Is it possible? How to do it?
docker docker-compose
Roomy
source share