Skip to content

Commit 0e5bff2

Browse files
committed
Merge branch 'fix/flask-missing-promql-utils' into 'main'
fix(monitoring_flask_backend): copy promql_utils.py into image Closes #170 See merge request postgres-ai/postgresai!244
2 parents 20afd56 + 39c6686 commit 0e5bff2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

monitoring_flask_backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ COPY requirements.txt .
2727
RUN pip install --no-cache-dir -r requirements.txt
2828

2929
# Copy application code
30-
COPY app.py .
30+
COPY app.py promql_utils.py ./
3131

3232
# Embed build metadata into the image filesystem
3333
RUN printf '%s' "${VERSION}" > /VERSION \
@@ -41,4 +41,4 @@ ENV FLASK_APP=app.py
4141
ENV FLASK_ENV=production
4242

4343
# Run the application
44-
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--timeout", "120", "app:app"]
44+
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "4", "--timeout", "120", "app:app"]

0 commit comments

Comments
 (0)