Install the writefreely cmd properly

This commit is contained in:
kaiyou 2019-04-19 13:05:01 +02:00
parent 402e9e822c
commit 70f754e8af
1 changed files with 2 additions and 1 deletions

View File

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