only include node binary to reduce image size
This commit is contained in:
parent
032e4fb701
commit
3e3ea0962e
|
|
@ -55,8 +55,9 @@ RUN apt-get update && apt-get install -y locales && rm -rf /var/lib/apt/lists/*
|
|||
ENV LANG=en_US.utf8
|
||||
|
||||
# install node
|
||||
ENV PATH=/usr/local/lib/nodejs/bin:$PATH
|
||||
COPY --from=build /usr/local/lib/nodejs /usr/local/lib/nodejs
|
||||
#ENV PATH=/usr/local/lib/nodejs/bin:$PATH
|
||||
#COPY --from=build /usr/local/lib/nodejs /usr/local/lib/nodejs
|
||||
COPY --from=build /usr/local/lib/nodejs/bin/node /usr/local/bin/node
|
||||
|
||||
# node service requirements
|
||||
# netbase is required by rpcbind/rpcinfo to work properly
|
||||
|
|
|
|||
Loading…
Reference in New Issue