From 901574c83c9bd9a65d65b9618e7ca473dca84af4 Mon Sep 17 00:00:00 2001 From: Simon Dodsley Date: Wed, 3 Apr 2024 13:25:13 -0400 Subject: [PATCH] Update to use alpine --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7923dcc..56ec8bd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/python:3.8-slim-buster +FROM amd64/python:alpine LABEL maintainer="sile16" @@ -15,9 +15,9 @@ ENV SWAGGER_JSON "/app/swagger.json" ENV BASE_URL "" ENV DEBIAN_FRONTEND "noninteractive" -RUN apt-get update && \ - apt-get install -y --no-install-recommends git \ - && apt-get clean && rm -rf /var/lib/apt/lists/* +RUN apk update && \ + apk add --upgrade git \ + && rm -rf /var/cache/apk/* RUN mkdir -p /usr/share/pureswagger ADD server/requirements.txt /usr/share/pureswagger/