Skip to content

Commit

Permalink
Fix error with crontab
Browse files Browse the repository at this point in the history
  • Loading branch information
tylermenezes committed Jan 8, 2020
1 parent 01d7b4b commit 9d861ae
Show file tree
Hide file tree
Showing 20 changed files with 51,098 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ RUN npm install \

# Install the python app
WORKDIR /app
RUN pip install -r requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install -r requirements.txt --target=/cronpkg

# Cleanup
RUN rm -rf /usr/local/bin/node \
Expand Down
7 changes: 4 additions & 3 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/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
wget https://f1.srnd.org/fonts/posters.zip?v=$RANDOM -O /fonts.zip >/dev/null 2>&1
unzip -o /fonts.zip -d /usr/share/fonts >/dev/null 2>&1
fc-cache -f > /dev/null 2>&1

cron -f &
uvicorn main:app --host 0.0.0.0 --port 8000
uvicorn main:app --host 0.0.0.0 --port 8000 --no-access-log
221 changes: 221 additions & 0 deletions remote/templates/template/ArtistsMeetBlack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
166 changes: 166 additions & 0 deletions remote/templates/template/ArtistsMeetLine.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
131 changes: 131 additions & 0 deletions remote/templates/template/ArtistsMeetRed.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 9d861ae

Please sign in to comment.