From 9aebb6ae4811f01f98e3e15254ccf2ab65df4d7f Mon Sep 17 00:00:00 2001 From: Adrian Altenhoff Date: Mon, 18 Nov 2024 09:08:44 +0100 Subject: [PATCH] fix warnings from Docker about legacy style format --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5ef5249..1fd311a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM python:3.11-slim as basis +FROM python:3.11-slim AS basis # set environment varibles -ENV PYTHONDONTWRITEBYTECODE 1 -ENV PYTHONUNBUFFERED 1 +ENV PYTHONDONTWRITEBYTECODE=1 +ENV PYTHONUNBUFFERED=1 -FROM basis as builder +FROM basis AS builder RUN apt-get update \ && apt-get install -y --no-install-recommends \ build-essential \ @@ -29,7 +29,7 @@ RUN ls -la \ && /app/bin/pip install dist/*.whl -FROM basis as runtime +FROM basis AS runtime RUN apt-get update \ && apt-get install -y --no-install-recommends \ fasttree \