openwebrx-clone/docker/Dockerfiles/Dockerfile-base
Jakob Ketterl f47ebb2adb docker optimization
* move openwebrx project tools to a separate layer for lower download
  volume and faster builds
* use COPY instead of ADD
* COPY multiple files at once to reduce number of layers
2020-09-01 23:30:48 +02:00

22 lines
477 B
Plaintext

FROM debian:buster-slim
COPY docker/files/js8call/js8call-hamlib.patch \
docker/files/wsjtx/*.patch \
docker/scripts/install-dependencies.sh \
docker/scripts/install-owrx-tools.sh /
RUN /install-dependencies.sh && \
rm /install-dependencies.sh && \
rm /*.patch
RUN /install-owrx-tools.sh && \
rm /install-owrx-tools.sh
ENTRYPOINT ["/init"]
WORKDIR /opt/openwebrx
VOLUME /etc/openwebrx
CMD [ "/opt/openwebrx/docker/scripts/run.sh" ]
EXPOSE 8073