Running in Docker
Opened this issue · 0 comments
Nevrage commented
Salut,
I would like to run pass-web in a docker container but I ame running in some issues with the keys argument.
First, it seems that the keys are mandatory, unlike what the --help suggests.
I intend to run this locally only and behind an nginx instance anyway. Is there a way to skip this step altogether?
Otherwise, would you know what I am missing from this Dockerfile (picking arch over alpine to avoid recompiling pass for now)
FROM archlinux
RUN pacman -Sy --noconfirm
RUN pacman -S --noconfirm pass npm git
RUN git clone https://github.com/BenoitZugmeyer/pass-web.git
RUN sh -c 'cd pass-web; npm install -g pass-web'
ADD ./pass-web-wrapper /usr/bin
WORKDIR /root/.password-store
CMD sh
ENTRYPOINT pass-web-wrapper
Thanks!