Tidy up comments

This commit is contained in:
NetworksAreMadeOfString 2021-08-10 22:11:18 +01:00
parent b929e7734c
commit 52353ca89b
1 changed files with 1 additions and 7 deletions

View File

@ -21,10 +21,6 @@ RUN apk --no-cache add --update \
&& make install \ && make install \
&& ls -R /usr/local/ && ls -R /usr/local/
#-----------------------------------------------
# Build CWTCH
#-----------------------------------------------
FROM golang:alpine as cwtch-build-stage FROM golang:alpine as cwtch-build-stage
# Need additional packages for cgo etc # Need additional packages for cgo etc
RUN apk --no-cache add --update gcc build-base RUN apk --no-cache add --update gcc build-base
@ -37,7 +33,7 @@ RUN cd src/app && go build
FROM alpine:latest FROM alpine:latest
#Specify user account aliases #Specify various env vars
ENV TOR_USER=_tor CWTCH_USER=_cwtch CWTCH_HOME=/var/lib/cwtch ENV TOR_USER=_tor CWTCH_USER=_cwtch CWTCH_HOME=/var/lib/cwtch
# Installing dependencies of Tor # Installing dependencies of Tor
@ -68,7 +64,5 @@ COPY ./docker/docker-entrypoint /usr/local/bin/
VOLUME /etc/tor /var/lib/tor /var/lib/cwtch VOLUME /etc/tor /var/lib/tor /var/lib/cwtch
ENTRYPOINT ["docker-entrypoint"] ENTRYPOINT ["docker-entrypoint"]
#USER $CWTCH_USER
#CMD ["/usr/local/bin/cwtch --exportTofuBundle"]
CMD ["/usr/local/bin/cwtch","--exportTofuBundle"] CMD ["/usr/local/bin/cwtch","--exportTofuBundle"]