updates color generation, tries fixing credentials bug
- credentials still lost the refresh token after a certain event - this was now fixed by completely removing any saves past the first one - https://trello.com/c/iORYLYHl/44-1-check-on-credentials - Color Coding is now updated - fixed an incorrect color mapping in the colors.json - updates some calls to functions to correctly get the natural colors - the incorrect red -> yellow mapping might have to do with the previous credentials error
This commit is contained in:
		@@ -1,10 +1,13 @@
 | 
			
		||||
FROM python:3.8-slim-buster
 | 
			
		||||
RUN apt-get update && apt-get upgrade
 | 
			
		||||
RUN apt-get install -y cron
 | 
			
		||||
RUN pip3 install flask Flask-SQLAlchemy flask_migrate flask_login flask_wtf python-dotenv
 | 
			
		||||
RUN apt-get install gcc libpcre3 libpcre3-dev -y
 | 
			
		||||
RUN pip3 install uwsgi
 | 
			
		||||
 | 
			
		||||
RUN pip3 install email-validator
 | 
			
		||||
RUN pip3 install google google-oauth google-auth-oauthlib google-api-python-client
 | 
			
		||||
 | 
			
		||||
COPY docker-entrypoint.sh /usr/local/bin/
 | 
			
		||||
EXPOSE 8084
 | 
			
		||||
ENTRYPOINT ["docker-entrypoint.sh"]
 | 
			
		||||
 
 | 
			
		||||
@@ -1,4 +1,10 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
cd /home/calendarwatch
 | 
			
		||||
# uwsgi --http-socket 0.0.0.0:8084 -w wsgi --protocol=https 
 | 
			
		||||
python3 app.py
 | 
			
		||||
 | 
			
		||||
python3 routine.py & 
 | 
			
		||||
echo "routine has been started"
 | 
			
		||||
 | 
			
		||||
python3 server.py
 | 
			
		||||
echo "server has been started"  
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user