-
Notifications
You must be signed in to change notification settings - Fork 8
/
Dockerfile-release
25 lines (21 loc) · 1.05 KB
/
Dockerfile-release
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Use most recent beta image and just change labels
ARG CODETOTAL_BASE_IMAGE
ARG BUILD_DATE
ARG BUILD_REVISION
ARG BUILD_VERSION
FROM $CODETOTAL_BASE_IMAGE
ENV BUILD_DATE=$BUILD_DATE \
BUILD_REVISION=$BUILD_REVISION \
BUILD_VERSION=$BUILD_VERSION
EXPOSE 3000
CMD ["node", "dist/index.js"]
LABEL maintainer="Nicolas Vuillamy <[email protected]>" \
org.opencontainers.image.created=$BUILD_DATE \
org.opencontainers.image.revision=$BUILD_REVISION \
org.opencontainers.image.version=$BUILD_VERSION \
org.opencontainers.image.authors="Nicolas Vuillamy <[email protected]>, Eyal Paz <[email protected]>, Itay Bisoni <[email protected]>" \
org.opencontainers.image.url="https://github.com/oxsecurity/codetotal" \
org.opencontainers.image.source="https://github.com/oxsecurity/codetotal" \
org.opencontainers.image.documentation="https://github.com/oxsecurity/codetotal" \
org.opencontainers.image.vendor="OX Security" \
org.opencontainers.image.description="Front End and Back End for CodeTotal"