forked from wemove/read2burn
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge wemove/read2burn:master into 52north/read2burn:main
- Loading branch information
Showing
6 changed files
with
1,615 additions
and
468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,14 +14,24 @@ COPY . . | |
# RUN npm ci --only=production | ||
# else | ||
# RUN npm install | ||
RUN npm ci --only=production \ | ||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add --no-cache tzdata \ | ||
&& npm ci --only=production \ | ||
&& rm -rf ${READ2BURN_HOME}/docker | ||
|
||
#################### | ||
# Create image | ||
|
||
FROM node:lts-alpine | ||
|
||
# Your contact info | ||
LABEL maintainer="Jürrens, Eike Hinderk <[email protected]>" \ | ||
org.opencontainers.image.authors="Jürrens, Eike Hinderk <[email protected]>" \ | ||
org.opencontainers.image.url="https://github.com/52North/read2burn.git" \ | ||
org.opencontainers.image.vendor="52°North GmbH" \ | ||
org.opencontainers.image.licenses="Apache-2.0" \ | ||
org.opencontainers.image.title="52°North Read 2 Burn Deployment" | ||
ENV READ2BURN_HOME="/app" | ||
|
||
WORKDIR ${READ2BURN_HOME} | ||
|
@@ -38,4 +48,4 @@ ARG GIT_COMMIT | |
LABEL org.opencontainers.image.revision "${GIT_COMMIT}" | ||
|
||
ARG BUILD_DATE | ||
LABEL org.opencontainers.image.created "${BUILD_DATE}" | ||
LABEL org.opencontainers.image.created "${BUILD_DATE}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.