Skip to content
Snippets Groups Projects
Unverified Commit 80ec0524 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed analyse service vulnerabilities

parent a02e1516
No related branches found
No related tags found
2 merge requests!163Relase 1.3.0,!159Large update
FROM python:3.9-slim
MAINTAINER Cornelia Michlits <cornelia.michlits@tuwien.ac.at>
FROM python:3.9-alpine
MAINTAINER Martin Weise <martin.weise@tuwien.ac.at>
RUN apk update && apk --no-cache add build-base gcc python3-dev libpq-dev libffi-dev py3-pandas \
py3-sqlalchemy py3-requests py3-gevent py3-psycopg2
COPY ./requirements.docker.txt ./requirements.txt
RUN pip install -r ./requirements.txt
WORKDIR /app
ENV FLASK_APP=app.py
ENV FLASK_RUN_HOST=0.0.0.0
......@@ -8,12 +16,6 @@ ENV FLASK_ENV=production
ENV HOSTNAME=analyse-service
ENV EUREKA_SERVER=http://discovery-service:9090/eureka/
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip install -r requirements.txt > /dev/null
HEALTHCHECK --interval=10s --timeout=5s --retries=12 CMD ./service_ready
COPY ./as-yml/ ./as-yml/
......
messytables==0.15.2
flask==2.3.2
flasgger==0.9.5
py-eureka-client==0.9.1
docker==5.0.0
prometheus_flask_exporter==0.21.0
pytest==7.2.1
coverage==7.1.0
\ No newline at end of file
messytables==0.15.2
pandas==1.2.3
flask==2.1.2
flask==2.3.2
flasgger==0.9.5
psycopg2-binary==2.8.6
py-eureka-client==0.9.1
......@@ -8,7 +8,6 @@ docker==5.0.0
sqlalchemy==1.4.15
requests==2.26.0
gevent==21.8.0
markupsafe==2.0.1
prometheus_flask_exporter==0.21.0
pytest==7.2.1
coverage==7.1.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment