Commit
·
9c365c8
1
Parent(s):
3e023b8
update
Browse files- Dockerfile +1 -0
- app.py +2 -0
Dockerfile
CHANGED
@@ -3,6 +3,7 @@ FROM python:3.8
|
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR $HOME/app
|
|
|
6 |
# Install Python dependencies
|
7 |
COPY ./requirements.txt /app/requirements.txt
|
8 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
3 |
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR $HOME/app
|
6 |
+
export HYDRA_FULL_ERROR=1
|
7 |
# Install Python dependencies
|
8 |
COPY ./requirements.txt /app/requirements.txt
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
app.py
CHANGED
@@ -10,6 +10,8 @@ import sys
|
|
10 |
from PIL import Image
|
11 |
import tempfile
|
12 |
|
|
|
|
|
13 |
def GET_PROJECT_ROOT():
|
14 |
count = 0
|
15 |
# goto the root folder of LogBar
|
|
|
10 |
from PIL import Image
|
11 |
import tempfile
|
12 |
|
13 |
+
os.environ["HYDRA_FULL_ERROR"] = 1
|
14 |
+
|
15 |
def GET_PROJECT_ROOT():
|
16 |
count = 0
|
17 |
# goto the root folder of LogBar
|