Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb02cc994a | ||
|
|
a80f9613ef |
1
.gitignore
vendored
Normal file → Executable file
1
.gitignore
vendored
Normal file → Executable file
@@ -4,3 +4,4 @@ gollum
|
||||
*.sw*
|
||||
**/*.sw*
|
||||
notes-server
|
||||
exec-notes-server
|
||||
|
||||
16
Dockerfile
Executable file
16
Dockerfile
Executable file
@@ -0,0 +1,16 @@
|
||||
|
||||
FROM golang:1.13-alpine as certs
|
||||
RUN apk update && apk add --no-cache ca-certificates
|
||||
|
||||
FROM busybox:glibc
|
||||
RUN mkdir -p /var/log
|
||||
WORKDIR /main
|
||||
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV GOPATH=""
|
||||
ENV MNT="/mnt/"
|
||||
ENTRYPOINT ["/main/exec-notes-server"]
|
||||
CMD []
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
padding: .5pt;
|
||||
border-radius: 6px;
|
||||
}
|
||||
img {
|
||||
max-height: 400px;
|
||||
}
|
||||
</style>
|
||||
</header>
|
||||
<body height="100%">
|
||||
|
||||
Reference in New Issue
Block a user