Skip to content

Commit

Permalink
Update to use alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
sdodsley authored Apr 3, 2024
1 parent 9fbc8dd commit 901574c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM amd64/python:3.8-slim-buster
FROM amd64/python:alpine

LABEL maintainer="sile16"

Expand All @@ -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/
Expand Down

0 comments on commit 901574c

Please sign in to comment.