NOISSUE - Fix building UI docker image for arm (#806)
* Add entrypoint in arm Dockerfile Switch from ash to dash in entrypoint script Signed-off-by: Ivan Milošević <iva@blokovi.com> * Add new line on file end Signed-off-by: Ivan Milošević <iva@blokovi.com>
This commit is contained in:
parent
649986b19f
commit
54823bed25
|
@ -22,3 +22,6 @@ COPY --from=builder /app/main.js /usr/share/nginx/html
|
|||
COPY --from=builder /app/css/mainflux.css /usr/share/nginx/html/css/
|
||||
COPY --from=builder /app/src/Websocket.js /usr/share/nginx/html/src/
|
||||
COPY --from=builder /app/docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/ash
|
||||
#!/bin/sh
|
||||
|
||||
if [ -n "$MF_UI_PORT" ]; then
|
||||
sed -i -e "s/MF_UI_PORT/$MF_UI_PORT/" /etc/nginx/conf.d/default.conf
|
||||
|
|
Loading…
Reference in New Issue