Initial version

This commit is contained in:
2021-02-14 08:11:00 -06:00
commit 5d302bd792
31 changed files with 6818 additions and 0 deletions

12
Dockerfile Normal file
View File

@@ -0,0 +1,12 @@
FROM golang:1.12-alpine as builder
RUN apk add --no-cache git make rsync nodejs npm
WORKDIR /go/notes
COPY . .
RUN make install-deps all
FROM alpine:latest
VOLUME /data
EXPOSE 8050
COPY --from=builder /go/notes/build/ /
ENTRYPOINT ["/notes"]
CMD ["--data","/data","--allow-file-uploads","--max-upload-mb","10","--host","0.0.0.0"]