adjust Dockerfile + add grafana

This commit is contained in:
Michi 2025-04-02 10:56:20 +02:00
parent 6faba4a759
commit 49b01c269a
2 changed files with 15 additions and 1 deletions

View file

@ -8,7 +8,7 @@ WORKDIR /app/
COPY requirements.txt .
# Set enviromental variables
ENV DB_CONNECTION_STRING ep-plannerDB
ENV DB_CONNECTION_STRING=ep-plannerDB
# Install needed packages
RUN pip3 install --upgrade pip
@ -20,6 +20,9 @@ EXPOSE 8080
# Imort script
COPY webservice.py .
COPY crypto.py .
COPY dbfunctions.py .
COPY models.py .
# Start app
CMD ["uvicorn", "webservice:app", "--host", "0.0.0.0", "--port", "8080"]