mirror of
https://github.com/netdata/netdata.git
synced 2025-04-09 23:57:55 +00:00
Fix netdata/netdata Docker image size (#9669)
* Fix netdata/netdata Docker image size * Rebased on master
This commit is contained in:
parent
8876380650
commit
e3f918aadb
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,7 @@ FROM netdata/base:${ARCH}
|
|||
# Copy files over
|
||||
RUN mkdir -p /opt/src
|
||||
COPY --from=builder /app /
|
||||
COPY --from=builder /wheels /wheels
|
||||
COPY packaging/docker/health.sh /health.sh
|
||||
|
||||
# Configure system
|
||||
|
@ -103,6 +104,9 @@ RUN \
|
|||
ln -sf /dev/stdout /var/log/netdata/debug.log && \
|
||||
ln -sf /dev/stderr /var/log/netdata/error.log
|
||||
|
||||
# Install any Python wheels
|
||||
RUN pip install /wheels/*
|
||||
|
||||
ENV NETDATA_PORT 19999
|
||||
EXPOSE $NETDATA_PORT
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue