master
Florent Daigniere 3 years ago
parent ccb3631622
commit 2b63280f59

@ -1,4 +1,4 @@
ARG DISTRO=alpine:3.14 ARG DISTRO=python:3.8-alpine3.14
FROM $DISTRO FROM $DISTRO
COPY requirements.txt /requirements.txt COPY requirements.txt /requirements.txt
@ -6,9 +6,8 @@ COPY requirements.txt /requirements.txt
ARG version=master ARG version=master
ENV VERSION=$version ENV VERSION=$version
RUN apk add --no-cache nginx curl python3 py3-pip \ RUN apk add --no-cache nginx curl \
&& pip3 install -r /requirements.txt \ && pip3 install -r /requirements.txt
&& mkdir /run/nginx
COPY ./nginx.conf /etc/nginx/conf.d/default.conf COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY . /docs COPY . /docs

Loading…
Cancel
Save