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 \