We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 954779b commit ef9ead9Copy full SHA for ef9ead9
Dockerfile
@@ -1,14 +1,8 @@
1
FROM python:3.8-buster
2
3
-# Install fonts
4
-ADD https://f1.srnd.org/fonts/posters-1.zip /fonts.zip
5
-RUN apt-get install -y unzip \
6
- && unzip /fonts.zip -d /usr/share/fonts \
7
- && fc-cache -f
8
-
9
# Install Inkscape
10
RUN apt-get update \
11
- && apt-get -y install inkscape
+ && apt-get -y install inkscape unzip
12
13
# Install Node
14
RUN mkdir /node
docker-entrypoint.sh
@@ -1,3 +1,7 @@
#!/usr/bin/env bash
+
+wget https://f1.srnd.org/fonts/posters.zip?v=$RANDOM -O /fonts.zip
+unzip -o /fonts.zip -d /usr/share/fonts && fc-cache -f
cron -f &
uvicorn main:app --host 0.0.0.0 --port 8000
0 commit comments