Fixes.
This commit is contained in:
parent
00f1fe1555
commit
a26453448a
2 changed files with 3 additions and 3 deletions
|
|
@ -54,8 +54,8 @@ EXPOSE 8081
|
||||||
#
|
#
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /tmp
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
CMD ["/app/.venv/bin/python", "app/main.py"]
|
CMD ["/app/.venv/bin/python", "/app/app/main.py"]
|
||||||
|
|
|
||||||
|
|
@ -75,7 +75,7 @@ class Main:
|
||||||
f'Could not create database file at {self.config.db_file}')
|
f'Could not create database file at {self.config.db_file}')
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
caribou.upgrade(self.config.db_file, './app/migrations')
|
caribou.upgrade(self.config.db_file, os.path.join(os.path.realpath(os.path.dirname(__file__)), 'migrations'))
|
||||||
|
|
||||||
self.loop = asyncio.get_event_loop()
|
self.loop = asyncio.get_event_loop()
|
||||||
self.serializer = ObjectSerializer()
|
self.serializer = ObjectSerializer()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue