-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (20 loc) · 770 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (20 loc) · 770 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM alpine:latest
MAINTAINER Piotr Kowalczuk <p.kowalczuk.priv@gmail.com>
ARG BUILD_DATE
ARG VCS_REF
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.docker.dockerfile="Dockerfile" \
org.label-schema.license="ASL" \
org.label-schema.name="mnemosyne" \
org.label-schema.url="https://github.com/piotrkowalczuk/mnemosyne" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vcs-type="git" \
org.label-schema.vcs-url="https://github.com/piotrkowalczuk/mnemosyne"
RUN apk --no-cache add curl
COPY ./bin /usr/local/bin/
COPY ./scripts/docker-entrypoint.sh /
COPY ./scripts/docker-healthcheck.sh /
EXPOSE 8080 8081
HEALTHCHECK --interval=1m30s --timeout=3s CMD ["/docker-healthcheck.sh"]
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["mnemosyned"]