Install the writefreely cmd properly

pull/95/head
kaiyou 6 years ago
parent 402e9e822c
commit 70f754e8af
  1. 3
      Dockerfile

@ -18,6 +18,7 @@ RUN mkdir /stage && \
/go/src/github.com/writeas/writefreely/static \
/go/src/github.com/writeas/writefreely/pages \
/go/src/github.com/writeas/writefreely/keys \
/go/src/github.com/writeas/writefreely/cmd \
/stage
# Final image
@ -31,4 +32,4 @@ VOLUME /go/keys
EXPOSE 8080
USER daemon
CMD ["bin/writefreely"]
ENTRYPOINT ["cmd/writefreely/writefreely"]

Loading…
Cancel
Save