Commit c4970890 authored by Sagar Arora's avatar Sagar Arora 🚴🏻
Browse files

dockerfile as convention

parent 8d581dc5
......@@ -63,18 +63,19 @@ COPY --from=oai-nrf-builder /usr/local/lib/ /usr/local/lib/
COPY --from=oai-nrf-builder /usr/local/lib/ /usr/local/lib/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /usr/lib/x86_64-linux-gnu/ /usr/lib/x86_64-linux-gnu/
COPY --from=oai-nrf-builder /openair-nrf/docker/
RUN ldconfig
# Copying template configuration files
COPY --from=oai-nrf-builder /openair-nrf/etc/nrf.conf /openair-nrf/etc/
COPY --from=oai-nrf-builder /openair-nrf/docker/ /openair-nrf/
WORKDIR /openair-nrf
EXPOSE 8080/tcp 9090/tcp
RUN chmod +x
# Temporary can be removed but in some-scenarioes it is safe to keep it.
RUN chmod +x /openair-nrf/bin/
CMD ["/openair-nrf/bin/oai_nrf", "-c", "/openair-nrf/etc/nrf.conf", "-o"]
ENTRYPOINT ["/bin/bash",""]
\ No newline at end of file
ENTRYPOINT ["/bin/bash","/openair-nrf/bin/"]
\ No newline at end of file
......@@ -7,9 +7,7 @@
set -euo pipefail
for c in ${CONFIG_DIR}/*.conf; do
# grep variable names (format: ${VAR}) from template to be rendered
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment