Fix local server for multiple applications
[anna.git] / docker-images / anna-adml-http / Dockerfile
1 FROM nginx
2 COPY etc/ /etc
3 COPY opt/adml/ /opt/adml
4
5 RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y tshark
6
7 RUN apt-get update && apt-get install -y \
8    vim \
9    net-tools \
10    procps \
11    jq \
12    python3 \
13    python3-xmltodict
14
15 COPY starter.sh /var/starter.sh
16
17 EXPOSE 8074
18 WORKDIR /opt/adml
19
20 #ENV TZ=Europe/Madrid
21 ENV LD_LIBRARY_PATH=/opt/adml/dynlibs
22
23 # Simplify docker image UX:
24 RUN rm args.* operation.sh start.sh stop.sh
25 RUN mv *.md utils
26
27 ENTRYPOINT ["sh", "/var/starter.sh"]
28 CMD []
29