From c8eae53187761790edc0eab0a00af5deb243fb0c Mon Sep 17 00:00:00 2001 From: Andrew Jackson Date: Mon, 27 Feb 2023 23:58:37 +0000 Subject: [PATCH] Adding a package update step. --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index 669ce36..efb197e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,17 @@ FROM python:3.10 +# Update packages +RUN apt-get update && apt-get upgrade -y \ + && rm -rf /var/lib/apt/lists/* + +# Set up working folder: WORKDIR /usr/src/access +# Install dependencies: COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt +# Copy in app files: COPY . . # Somewhere to store multi-process metrics for Prometheus: