From 622f4aa1c9736865f55619019aeec0d9ccc48c15 Mon Sep 17 00:00:00 2001 From: Volker Kerkhoff Date: Thu, 25 Jan 2024 12:41:48 +0100 Subject: [PATCH] URBIBBNA-42 Changes to Dockerfile --- publish-barshare-gbfs/Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/publish-barshare-gbfs/Dockerfile b/publish-barshare-gbfs/Dockerfile index f42e9d1..07574cb 100644 --- a/publish-barshare-gbfs/Dockerfile +++ b/publish-barshare-gbfs/Dockerfile @@ -1,13 +1,12 @@ # This Dockerfile builds a service that regularly publishes the BARShare GBFS to the bbnavi open data portal. FROM python:3-alpine +COPY requirements.txt ./ +RUN pip install --no-cache-dir -r requirements.txt RUN apk add --no-cache --update tree minio-cli WORKDIR /usr/src/app -COPY requirements.txt ./ -RUN pip install --no-cache-dir -r requirements.txt - COPY main.sh ./ COPY index.html barshare-logo.png ./