1 Star 1 Fork 3

black0592/iec61850_open_server

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile.circuit_simulator 1017 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM debian:stable-slim
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y \
gcc bison flex libtool autoconf automake libreadline-dev \
python3 python3-pip \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=
COPY ./third_party/ngspice-30.tar.gz /tmp/
RUN tar -xvzf /tmp/ngspice-30.tar.gz -C /tmp
COPY ./third_party/ngspice_config/compile_linux.sh /tmp/ngspice_config/compile_linux.sh
RUN cp -f /tmp/ngspice_config/compile_linux.sh /tmp/ngspice-30/ \
&& cd /tmp/ngspice-30 \
&& chmod 700 compile_linux.sh \
&& ./compile_linux.sh 64 \
&& ldconfig
COPY ./circuit_simulator/requirements.txt /srv/circuit_simulator/requirements.txt
RUN cd /srv/circuit_simulator && pip3 install -r requirements.txt
COPY ./circuit_simulator /srv/circuit_simulator
COPY ./schema /srv/schema
#COPY open_substation.scd /SCD/open_substation.scd
WORKDIR /srv/circuit_simulator
EXPOSE 5010
CMD ["python3","webAPI.py"]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/black0592/iec61850_open_server.git
git@gitee.com:black0592/iec61850_open_server.git
black0592
iec61850_open_server
iec61850_open_server
master

搜索帮助