mirror of
https://github.com/craigerl/aprsd.git
synced 2024-12-22 01:20:59 -05:00
Fixed docker setup.sh comparison
This commit is contained in:
parent
c4b17eee9d
commit
a5680a7cbb
@ -46,8 +46,7 @@ RUN echo "PATH=\$PATH:/usr/games" >> /app/.bashrc
|
|||||||
RUN which aprsd
|
RUN which aprsd
|
||||||
RUN aprsd sample-config > /config/aprsd.conf
|
RUN aprsd sample-config > /config/aprsd.conf
|
||||||
|
|
||||||
ADD bin/run.sh /app
|
ADD bin/setup.sh /app
|
||||||
ADD bin/listen.sh /app
|
|
||||||
ADD bin/admin.sh /app
|
ADD bin/admin.sh /app
|
||||||
|
|
||||||
# For the web admin interface
|
# For the web admin interface
|
||||||
|
@ -46,8 +46,6 @@ RUN which aprsd
|
|||||||
RUN aprsd sample-config > /config/aprsd.conf
|
RUN aprsd sample-config > /config/aprsd.conf
|
||||||
|
|
||||||
ADD bin/setup.sh /app
|
ADD bin/setup.sh /app
|
||||||
ADD bin/run.sh /app
|
|
||||||
ADD bin/listen.sh /app
|
|
||||||
ADD bin/admin.sh /app
|
ADD bin/admin.sh /app
|
||||||
|
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
|
@ -6,7 +6,7 @@ set -x
|
|||||||
# what command you want to run in the container
|
# what command you want to run in the container
|
||||||
COMMAND="server"
|
COMMAND="server"
|
||||||
|
|
||||||
if [ ! -z "$@" ]; then
|
if [ ! -z "${@+x}" ]; then
|
||||||
COMMAND=$@
|
COMMAND=$@
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user