| |
@@ -1,4 +1,4 @@
|
| |
- FROM fedora:26
|
| |
+ FROM fedora:27
|
| |
LABEL \
|
| |
name="WaiverDB application" \
|
| |
vendor="WaiverDB developers" \
|
| |
@@ -9,12 +9,15 @@
|
| |
ARG waiverdb_common_rpm
|
| |
COPY $waiverdb_rpm /tmp
|
| |
COPY $waiverdb_common_rpm /tmp
|
| |
+
|
| |
RUN dnf -y install \
|
| |
- python-gunicorn \
|
| |
- python-psycopg2 \
|
| |
+ python3-gunicorn \
|
| |
/tmp/$(basename $waiverdb_rpm) \
|
| |
/tmp/$(basename $waiverdb_common_rpm) \
|
| |
- && dnf -y clean all
|
| |
+ && dnf -y clean all \
|
| |
+ && rm -f /tmp/*
|
| |
+
|
| |
USER 1001
|
| |
EXPOSE 8080
|
| |
- ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- waiverdb.wsgi:app
|
| |
+
|
| |
+ ENTRYPOINT python3-gunicorn --bind 0.0.0.0:8080 --access-logfile=- waiverdb.wsgi:app
|
| |
[a44a16f] switched to Python 3 on Fedora. This made
gunicorn not finding waiverdb.wsgi .
Switching to python3-gunicorn solves this.
Following futureproofing from [42754a4], change the base
image to be fedora:27 .
Signed-off-by: Hunor Csomortáni csomh@redhat.com