Skip to content
Snippets Groups Projects
Commit 519bca7b authored by Milan Čermák's avatar Milan Čermák
Browse files

Hotfix of the python modules installation using pip

parent d20f50a6
No related branches found
No related tags found
No related merge requests found
...@@ -82,7 +82,7 @@ RUN apk add --update --no-cache postgresql nodejs python3 py3-pip \ ...@@ -82,7 +82,7 @@ RUN apk add --update --no-cache postgresql nodejs python3 py3-pip \
&& su postgres -c "psql -c \"grant all privileges on database granef_visualization to granef;\"" \ && su postgres -c "psql -c \"grant all privileges on database granef_visualization to granef;\"" \
&& su postgres -c "psql -d granef_visualization -c \"GRANT ALL ON SCHEMA public TO granef;\"" \ && su postgres -c "psql -d granef_visualization -c \"GRANT ALL ON SCHEMA public TO granef;\"" \
&& su postgres -c "pg_ctl stop -D /var/lib/postgresql/data" \ && su postgres -c "pg_ctl stop -D /var/lib/postgresql/data" \
&& pip3 install --trusted-host pypi.python.org --no-cache-dir -r requirements.txt && pip3 install --trusted-host pypi.python.org --no-cache-dir --break-system-packages -r requirements.txt
# Run communication-handler.py with arguments when container launches (CMD if there are no arguments) # Run communication-handler.py with arguments when container launches (CMD if there are no arguments)
ENTRYPOINT ["python3", "communication_handler.py"] ENTRYPOINT ["python3", "communication_handler.py"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment