OOP and documented
This commit is contained in:
@@ -40,7 +40,5 @@ RUN chown -R myuser:myuser /app
|
||||
# Switch to the created user
|
||||
USER myuser
|
||||
|
||||
RUN python3 init_db.py
|
||||
|
||||
# Start gunicorn with the appropriate options
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:3000", "--log-level=debug", "--workers=3", "app:create_app('default')"]
|
||||
CMD ["gunicorn", "-b", "0.0.0.0:3000", "--log-level=debug", "--workers=3", "app:app"]
|
||||
|
||||
Reference in New Issue
Block a user