Commit 70f754e8 authored by kaiyou's avatar kaiyou

Install the writefreely cmd properly

parent 402e9e82
Pipeline #184 passed with stage
in 2 minutes and 20 seconds
......@@ -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"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment