| |
@@ -1,25 +1,25 @@
|
| |
- FROM fedora:29
|
| |
+ FROM fedora:31
|
| |
|
| |
WORKDIR /opt/sites/getfedora.org/
|
| |
|
| |
RUN dnf -y install \
|
| |
- python-flask \
|
| |
- python-frozen-flask \
|
| |
- python-flask-assets \
|
| |
- python-rjsmin \
|
| |
- python-cssmin \
|
| |
- python-flask-babel \
|
| |
- python-flask-htmlmin \
|
| |
- python-cssutils \
|
| |
+ python3-flask \
|
| |
+ python3-frozen-flask \
|
| |
+ python3-flask-assets \
|
| |
+ python3-rjsmin \
|
| |
+ python3-cssmin \
|
| |
+ python3-flask-babel \
|
| |
+ python3-flask-htmlmin \
|
| |
+ python3-cssutils \
|
| |
rubygem-sass \
|
| |
babel \
|
| |
python3-jinja2 \
|
| |
- python-pyyaml \
|
| |
- python-dateutil \
|
| |
- python-dogpile-cache \
|
| |
- python-requests \
|
| |
- python-fedfind \
|
| |
- python-zanata-client && \
|
| |
+ python3-pyyaml \
|
| |
+ python3-dateutil \
|
| |
+ python3-dogpile-cache \
|
| |
+ python3-requests \
|
| |
+ python3-fedfind \
|
| |
+ python3-zanata-client && \
|
| |
dnf clean all
|
| |
|
| |
ENV FLASK_APP main.py
|
| |
In this PR, the following changes were made:
- Update the Dockerfile to use Fedora 31 and download python3 packages
- Remove the python3 option from build-prod.sh
There will be another PR in the fedora-docs/websites repository, as the docker command for the flask webserver changed.