Skip to content

Commit 9d861ae

Browse files
committed
Fix error with crontab
1 parent 01d7b4b commit 9d861ae

20 files changed

Lines changed: 51098 additions & 5 deletions

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ RUN npm install \
3838

3939
# Install the python app
4040
WORKDIR /app
41-
RUN pip install -r requirements.txt
41+
RUN pip3 install -r requirements.txt
42+
RUN pip3 install -r requirements.txt --target=/cronpkg
4243

4344
# Cleanup
4445
RUN rm -rf /usr/local/bin/node \

docker-entrypoint.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
#!/usr/bin/env bash
22

3-
wget https://f1.srnd.org/fonts/posters.zip?v=$RANDOM -O /fonts.zip
4-
unzip -o /fonts.zip -d /usr/share/fonts && fc-cache -f
3+
wget https://f1.srnd.org/fonts/posters.zip?v=$RANDOM -O /fonts.zip >/dev/null 2>&1
4+
unzip -o /fonts.zip -d /usr/share/fonts >/dev/null 2>&1
5+
fc-cache -f > /dev/null 2>&1
56

67
cron -f &
7-
uvicorn main:app --host 0.0.0.0 --port 8000
8+
uvicorn main:app --host 0.0.0.0 --port 8000 --no-access-log

remote/templates/template/ArtistsMeetBlack.svg

Lines changed: 221 additions & 0 deletions
Loading

remote/templates/template/ArtistsMeetLine.svg

Lines changed: 166 additions & 0 deletions
Loading
Lines changed: 131 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)