Install the writefreely cmd properly
This commit is contained in:
parent
402e9e822c
commit
70f754e8af
|
@ -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"]
|
||||||
|
|
Loading…
Reference in New Issue