6d3391457a278478527bbc4b6364939f4fd960ff
[sim/a1-interface.git] / near-rt-ric-simulator / scripts / Dockerfile
1 #
2 # ============LICENSE_START=======================================================
3 #  Copyright (C) 2020 Nordix Foundation.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #      http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 # ============LICENSE_END=========================================================
17 #
18
19 FROM python:3.8-slim-buster
20
21 WORKDIR /usr/src/app
22
23 RUN pip install connexion[swagger-ui]
24
25 COPY example_files/policy_instance_1_STD_QoSNudging_0.2.0.json policy_instance_1_STD_QoSNudging_0.2.0.json
26 COPY example_files/policy_instance_1_bis_STD_QoSNudging_0.2.0.json policy_instance_1_bis_STD_QoSNudging_0.2.0.json
27 COPY example_files/policy_instance_2_STD_QoSNudging_0.2.0.json policy_instance_2_STD_QoSNudging_0.2.0.json
28 COPY example_files/policy_type_STD_QoSNudging_0.2.0.json policy_type_STD_QoSNudging_0.2.0.json
29
30 COPY a1.py a1.py
31 COPY main.py main.py
32 COPY var_declaration.py var_declaration.py
33
34 COPY commands.sh commands.sh
35 COPY start_simulator.sh start_simulator.sh
36
37 COPY a1-openapi.yaml a1-openapi.yaml
38
39 CMD ["/bin/bash", "./run_me.sh"]