diff --git a/Dockerfile b/Dockerfile index f6086a87..bfbdb451 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # This part installs deps needed at runtime. -FROM python:3.11-slim as common +FROM python:3.11-slim AS common RUN apt-get update && \ apt-get install -y --no-install-recommends \ @@ -14,7 +14,7 @@ RUN apt-get update && \ rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* # This part adds deps needed only at buildtime. -FROM common as build +FROM common AS build RUN apt-get update && \ apt-get install -y --no-install-recommends \