moved requirements.txt to same Dockerfile context. Adjusted packages to what is needed
This commit is contained in:
parent
7b11b0c7f1
commit
695cb09150
@ -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/
|
||||
|
@ -2,6 +2,4 @@ flask
|
||||
flask_restful
|
||||
pyjwt
|
||||
pyjwt[crypto]
|
||||
requests
|
||||
dnspython
|
||||
pymongo
|
||||
dnspython
|
@ -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/
|
||||
|
4
eindopdracht/dns_gui/requirements.txt
Normal file
4
eindopdracht/dns_gui/requirements.txt
Normal file
@ -0,0 +1,4 @@
|
||||
flask
|
||||
pyjwt
|
||||
requests
|
||||
pymongo
|
Reference in New Issue
Block a user