Ittay Stern | f8af5bf | 2019-03-27 18:21:29 +0200 | [diff] [blame] | 1 | FROM python:3-alpine3.9 |
Simon Hrabos | 0456e25 | 2019-02-25 10:36:42 +0100 | [diff] [blame] | 2 | |
Ittay Stern | f8af5bf | 2019-03-27 18:21:29 +0200 | [diff] [blame] | 3 | # `component` should be `so` or `aai` |
| 4 | ARG component |
| 5 | ENV component=$component |
koblosz | 2ac270a | 2018-10-23 07:32:30 +0200 | [diff] [blame] | 6 | |
| 7 | COPY SO.py / |
michal.banka | 5d7b066 | 2019-04-09 13:29:37 +0200 | [diff] [blame^] | 8 | RUN mkdir test_data_assets |
| 9 | ADD ./test_data_assets/ /test_data_assets |
koblosz | 2ac270a | 2018-10-23 07:32:30 +0200 | [diff] [blame] | 10 | |
| 11 | EXPOSE 8443 |
| 12 | |
michal.banka | 5d7b066 | 2019-04-09 13:29:37 +0200 | [diff] [blame^] | 13 | CMD python ./SO.py /test_data_assets/expected_${component}_requests.json /test_data_assets/expected_${component}_responses.json |