Archived
1

moved requirements.txt to same Dockerfile context. Adjusted packages to what is needed

This commit is contained in:
Ventilaar 2022-03-30 19:53:06 +02:00
parent 7b11b0c7f1
commit 695cb09150
4 changed files with 7 additions and 5 deletions

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk add --update py3-pip python3-dev gcc libc-dev libffi-dev
RUN pip install --upgrade pip
COPY ../requirements.txt /app/
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY openid.py /app/
COPY dnszone.py /app/

View File

@ -2,6 +2,4 @@ flask
flask_restful
pyjwt
pyjwt[crypto]
requests
dnspython
pymongo
dnspython

View File

@ -1,7 +1,7 @@
FROM alpine:latest
RUN apk add --update py3-pip python3-dev gcc libc-dev libffi-dev
RUN pip install --upgrade pip
COPY ../requirements.txt /app/
COPY requirements.txt /app/
RUN pip install --no-cache-dir -r /app/requirements.txt
COPY templates/ /app/templates/
COPY gui.py /app/

View File

@ -0,0 +1,4 @@
flask
pyjwt
requests
pymongo