diff --git a/Dockerfile b/Dockerfile index 7f8e120..fc79cbf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,13 @@ FROM python:3.12.1-alpine +# Ref https://github.com/docker-library/docker/issues/240 we need to explicitly install python +RUN apk --no-cache add --virtual builds-deps build-base python3 + RUN mkdir /controller WORKDIR /controller COPY requirements.txt . + RUN pip install -r requirements.txt COPY controller.py .