Compare commits

...

3 Commits

Author SHA1 Message Date
simon ffbaf9c8e9
bump footer version 2022-11-29 14:05:48 +07:00
simon 6536c7040c
make send_from_directory compatible with latet flask 2022-11-29 14:05:31 +07:00
simon d63369b620
update libs 2022-11-29 14:04:32 +07:00
4 changed files with 10 additions and 10 deletions

View File

@ -1,5 +1,5 @@
# build requirements
FROM python:3.10.5-slim-bullseye AS builder
FROM python:3.10.8-slim-bullseye AS builder
RUN apt-get -y update && \
apt-get -y install --no-install-recommends \
@ -11,7 +11,7 @@ RUN pip install --upgrade pip && pip install --user -r requirements.txt
# load in main image
FROM python:3.10.5-slim-bullseye as tilefy
FROM python:3.10.8-slim-bullseye as tilefy
ARG INSTALL_DEBUG
ENV PYTHONUNBUFFERED 1

View File

@ -1,8 +1,8 @@
APScheduler==3.9.1
APScheduler==3.9.1.post1
beautifulsoup4==4.11.1
flask==2.1.2
Pillow==9.1.1
flask==2.2.2
Pillow==9.3.0
PyYAML==6.0
redis==4.3.4
requests==2.28.0
uwsgi==2.0.20
redis==4.3.5
requests==2.28.1
uwsgi==2.0.21

View File

@ -68,7 +68,7 @@
</div>
<div class="footer">
<div class="boxed-content">
<span>© <script type="text/javascript">document.write(new Date().getFullYear());</script> Tilefy v0.0.2 </span><span><a href="https://github.com/bbilly1/tilefy" target="_blank">GitHub</a> | <a href="https://hub.docker.com/r/bbilly1/tilefy" target="_blank">Docker Hub</a></span>
<span>© <script type="text/javascript">document.write(new Date().getFullYear());</script> Tilefy v0.0.3 | </span><span><a href="https://github.com/bbilly1/tilefy" target="_blank">GitHub</a> | <a href="https://hub.docker.com/r/bbilly1/tilefy" target="_blank">Docker Hub</a></span>
</div>
</div>
<script type="text/javascript" src="/static/script.js"></script>

View File

@ -49,5 +49,5 @@ def get_tile(tile_path):
return send_from_directory(
directory="/data/tiles",
path=tile_path,
cache_timeout=60,
max_age=60,
)