Skip to content

Commit 9aa7586

Browse files
committed
remove copy of cert and add cert in entrypoint
1 parent f67a297 commit 9aa7586

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ RUN cd telemetry && pip install -r requirements.txt && pip install . && cd ..
99
# Copy SSL certificates
1010
# COPY cos_analog_com.crt ./ssl/cos_analog_com.crt
1111
# COPY cos_analog_com.key ./ssl/cos_analog_com.key
12-
COPY cert.crt ./ssl/cert.crt
13-
COPY cert.key ./ssl/cert.key
12+
# COPY cert.crt ./ssl/cert.crt
13+
# COPY cert.key ./ssl/cert.key
1414
RUN chmod u+x ./entrypoint.sh
1515
ENTRYPOINT ["./entrypoint.sh"]
1616
EXPOSE 5000

entrypoint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
2-
# flask run --host=0.0.0.0 --port=5000 --cert=./ssl/cert.crt --key=./ssl/cert.key
3-
flask run --host=0.0.0.0
2+
flask run --host=0.0.0.0 --port=5000 --cert=./ssl/cert.crt --key=./ssl/cert.key
3+
# flask run --host=0.0.0.0
44
# flask run --host=0.0.0.0 --port=5000 --cert=./ssl/cos_analog_com.crt --key=./ssl/cos_analog_com.key

0 commit comments

Comments
 (0)