repo url
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ ENV NODE_ENV="production" \
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN apk add --no-cache --virtual=.build-deps git \
|
RUN apk add --no-cache --virtual=.build-deps git \
|
||||||
&& git clone https://github.com/softbounce/inbound-email.git . \
|
&& git clone https://github.com/kriiv/inbound-email.git . \
|
||||||
&& if [ -n "${VERSION}" ]; then \
|
&& if [ -n "${VERSION}" ]; then \
|
||||||
NUMBER_COMMITS_TO_REVERT=$(( $(git rev-list --count --first-parent HEAD) - $(echo "${VERSION}" | cut -d "." -f3) )); \
|
NUMBER_COMMITS_TO_REVERT=$(( $(git rev-list --count --first-parent HEAD) - $(echo "${VERSION}" | cut -d "." -f3) )); \
|
||||||
git checkout "master~${NUMBER_COMMITS_TO_REVERT}"; \
|
git checkout "master~${NUMBER_COMMITS_TO_REVERT}"; \
|
||||||
@@ -24,4 +24,4 @@ RUN apk add --no-cache --virtual=.build-deps git \
|
|||||||
USER node
|
USER node
|
||||||
EXPOSE 2525
|
EXPOSE 2525
|
||||||
CMD node server.js
|
CMD node server.js
|
||||||
LABEL org.opencontainers.image.source="https://github.com/softbounce/inbound-email"
|
LABEL org.opencontainers.image.source="https://github.com/kriiv/inbound-email"
|
||||||
Reference in New Issue
Block a user