Skip to content

Commit

Permalink
Set SHARKD_SOCKET to be usable by node user
Browse files Browse the repository at this point in the history
 * set SHARKD_SOCKET=/home/node/sharkd.sock in Dockerfile
 * closes QXIP#23
  • Loading branch information
ekoyle committed Aug 29, 2023
1 parent 97a34cf commit a1a82ae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ COPY --from=intermediate /out /out
RUN cd / && tar zxvf /out/sharkd.tar.gz && rm -rf /out/sharkd.tar.gz

ENV CAPTURES_PATH=/captures/
ENV SHARKD_SOCKET=/home/node/sharkd.sock

# RUN git clone --single-branch --branch master https://github.com/qxip/node-webshark /usr/src/node-webshark
COPY --chown=node . /usr/src/node-webshark
Expand Down

0 comments on commit a1a82ae

Please sign in to comment.