This commit is contained in:
JonatanRek
2024-10-05 22:04:39 +02:00
parent 346ec95a3a
commit 6512c00800
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -16,8 +16,7 @@ COPY . /app
# Install any needed dependencies specified in requirements.txt # Install any needed dependencies specified in requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt
#Start Container # Start Anonimization
RUN chmod +x /app/start.sh CMD ["python3", "/app/app.py"]
CMD ["/bin/bash","/app/start.sh"]
WORKDIR /app WORKDIR /app
+1 -1
View File
@@ -9,7 +9,7 @@ sever = os.getenv('API_ROOT', 'localhost:8000')
root_api_url = 'http://{}/local'.format(sever) root_api_url = 'http://{}/local'.format(sever)
base_path = '/app/data/' base_path = '/app/data/'
print(str(root_api_url)) print("API_ROOT: " + str(root_api_url))
#try: #try:
while True: while True: