From 88e23ab6d55ed900ee4079f62c637cfbf21c44be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Thu, 24 Jun 2021 20:46:41 +0000 Subject: [PATCH] Dockerfile: add twine and build --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3abea6..8b05e40 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,3 @@ -FROM scratch -RUN echo "hello world" -COPY example.txt / -ENV VAR=1 -CMD ["sleep", "infinity"] \ No newline at end of file +FROM library/python +RUN python -m pip install --no-cache-dir twine build +CMD ["python3"] \ No newline at end of file