Skip to content

Commit

Permalink
fix warnings from Docker about legacy style format
Browse files Browse the repository at this point in the history
  • Loading branch information
alpae committed Nov 18, 2024
1 parent 3141113 commit 9aebb6a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 9aebb6a

Please sign in to comment.