Implement logging and adjusted database location
Changes include creating the directory and database before the script.
This commit is contained in:
@@ -7,4 +7,7 @@ WORKDIR /lanews
|
||||
RUN python3 -m venv venv && \
|
||||
venv/bin/pip install -r requirements.txt
|
||||
|
||||
RUN mkdir database && \
|
||||
touch database/news.db
|
||||
|
||||
CMD ["venv/bin/python", "main.py"]
|
||||
Reference in New Issue
Block a user