docker file fix

This commit is contained in:
MincYu 2021-02-21 15:06:03 +08:00
parent e21c20252b
commit a5fdd7b9c8
2 changed files with 3 additions and 3 deletions

View File

@ -12,4 +12,4 @@ WORKDIR /$DEMO_HOME/build
RUN cmake .. && make
COPY dockerfiles/start-demo.sh /
CMD bash start-demo.sh
CMD bash /start-demo.sh

View File

@ -4,7 +4,7 @@ metadata:
name: shm-demo
spec:
containers:
- name: function-1
- name: server
image: cheneyyu/shm-demo
env:
- name: ROLE
@ -13,7 +13,7 @@ spec:
- name: cache-volume
mountPath: /dev/shm
- name: function-2
- name: function-1
image: cheneyyu/shm-demo
env:
- name: ROLE