18 lines
310 B
Docker
18 lines
310 B
Docker
FROM python:3.12-alpha
|
|
|
|
RUN apk add --no-cache git docker-cli docker-cli-compose && git config --global --add safe.directory '*'
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt ..
|
|
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY app/watcher.py ..
|
|
|
|
ENV PYTHONUMBUFFERED = 1
|
|
|
|
CMD ["python", "/app/watcher.py"]
|
|
|
|
|