Fix CMD line

This commit is contained in:
NetworksAreMadeOfString 2021-08-10 22:06:26 +01:00
parent ed0aa2846d
commit b929e7734c
1 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,7 @@ RUN cd src/app && go build
FROM alpine:latest
#Specify user account aliases
ENV TOR_USER=_tor CWTCH_USER=_cwtch
ENV TOR_USER=_tor CWTCH_USER=_cwtch CWTCH_HOME=/var/lib/cwtch
# Installing dependencies of Tor
RUN apk --no-cache add --update \
@ -69,5 +69,6 @@ VOLUME /etc/tor /var/lib/tor /var/lib/cwtch
ENTRYPOINT ["docker-entrypoint"]
#USER $CWTCH_USER
CMD ["env CWTCH_HOME=/var/lib/cwtch /usr/local/bin/cwtch --exportTofuBundle"]
#CMD ["/usr/local/bin/cwtch --exportTofuBundle"]
CMD ["/usr/local/bin/cwtch","--exportTofuBundle"]