Skip to content
Snippets Groups Projects
Commit 55e3727f authored by Benedikt's avatar Benedikt
Browse files

added pycharm remote debugging dependencies

parent 7e4a3d45
No related branches found
No related tags found
No related merge requests found
...@@ -14,12 +14,11 @@ ENV no_proxy="ptb.de" ...@@ -14,12 +14,11 @@ ENV no_proxy="ptb.de"
# Install any needed packages specified in requirements.txt # Install any needed packages specified in requirements.txt
RUN git clone https://dockerPull:Wz2547C6UNSQkkbuqhMY@gitlab1.ptb.de/digitaldynamicmeasurement/pydccdisplayer.git RUN git clone https://dockerPull:Wz2547C6UNSQkkbuqhMY@gitlab1.ptb.de/digitaldynamicmeasurement/pydccdisplayer.git
RUN pip install --proxy=webproxy.bs.ptb.de:8080 --no-cache-dir -r pydccdisplayer/requirements.txt RUN pip install --proxy=webproxy.bs.ptb.de:8080 --no-cache-dir -r pydccdisplayer/requirements.txt
#RUN pip install --no-cache-dir -r pydccdisplayer/requirements.txt #RUN pip install --no-cache-dir -r pydccdisplayer/requirements.txt
#COPY . . #COPY . .
EXPOSE 5003 EXPOSE 5003 12345
#WORKDIR ./pydccdisplayer/src #WORKDIR ./pydccdisplayer/src
CMD ["bokeh", "serve", "pydccdisplayer/src/.", "--port", "5003", "--allow-websocket-origin", "*","--use-xheaders","--prefix","pydccdisplayer"] CMD ["bokeh", "serve", "pydccdisplayer/src/.", "--port", "5003", "--allow-websocket-origin", "*","--use-xheaders","--prefix","pydccdisplayer"]
bokeh~=3.3.1 bokeh~=3.3.1
pytest~=7.4.2 pytest~=7.4.2
pytest-cov~=4.1.0 pytest-cov~=4.1.0
-e git+https://pipPull:eVJmNgPKyXCjxgEqDquL@gitlab1.ptb.de/digitaldynamicmeasurement/py-dsi-vectors-and-tables.git@release#egg=dsiVectorsAndTables pydevd-pycharm~=232.10072.31 # needed for debugging with pycharm
-e git+https://dockerPull:-jVp9LBaxeKp9HKAe9dw@gitlab1.ptb.de/digitaldynamicmeasurement/bokehCssPtb.git#egg=bokehCssPTB -e git+https://pipPull:eVJmNgPKyXCjxgEqDquL@gitlab1.ptb.de/digitaldynamicmeasurement/py-dsi-vectors-and-tables.git
\ No newline at end of file -e git+https://dockerPull:-jVp9LBaxeKp9HKgiAe9dw@gitlab1.ptb.de/digitaldynamicmeasurement/bokehCssPtb.git
\ No newline at end of file
...@@ -19,6 +19,9 @@ from dcc_XMLJSONConv.dcc_Conv import dcc as converterDcc ...@@ -19,6 +19,9 @@ from dcc_XMLJSONConv.dcc_Conv import dcc as converterDcc
VERSION = "0.1.0" VERSION = "0.1.0"
import pydevd_pycharm
# The host and port should match the configuration in PyCharm's debug server settings
pydevd_pycharm.settrace('host.docker.internal', port=12345, stdoutToServer=True, stderrToServer=True)
class page: class page:
def __init__(self): def __init__(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment