Browse Source

Install the writefreely cmd properly

pull/95/head
kaiyou 5 years ago
parent
commit
70f754e8af
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Dockerfile

+ 2
- 1
Dockerfile View File

@@ -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