diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 55ab8f502..0bc501c04 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -1,5 +1,5 @@ #base image -FROM python:3.12-alpine3.18 as certbot +FROM python:3.12-alpine3.18 AS certbot ENTRYPOINT [ "certbot" ] EXPOSE 80 443 @@ -44,6 +44,6 @@ RUN apk add --no-cache --virtual .build-deps \ #static definition for making a plugin, but beware that #using this layer definition will cause collisions if you make #extensive use of the cache. -FROM certbot as certbot-plugin +FROM certbot AS certbot-plugin COPY --from=plugin-src . /opt/certbot/src/plugin RUN python tools/pip_install.py --no-cache-dir --editable /opt/certbot/src/plugin