Tinh
03/07/2025, 2:04 PMFROM prefecthq/prefect:3.2.6-python3.9
COPY . /app
WORKDIR /app
RUN pip install -r requirements.txt
RUN addgroup --gid ol_data && adduser --disabled-password --gecos '' user1
USER user1
#Excutive python file
CMD [ "python", "flow.py" ]
This is my compose.yaml
services:
download:
container_name: data1
build: .
volumes:
- /local/path/:/datadir
env_file: .env
user: "user1:ol_data"
restart: always
When I start docker compose up
, it said watch → watch is not yet configured. Learn more: <https://docs.docker.com/compose/file-watch>
and the process failed with`httpx.ConnectError: All connection attempts`
I dont know where am I wrong and how to overcome this?Bianca Hoch
03/07/2025, 6:47 PM