This commit is contained in:
Martin Krivosija
2025-03-31 23:34:12 +02:00
parent ccc9eb1181
commit f8c0c4f70c
+2 -2
View File
@@ -11,7 +11,7 @@ ENV NODE_ENV="production" \
WORKDIR /app
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 \
NUMBER_COMMITS_TO_REVERT=$(( $(git rev-list --count --first-parent HEAD) - $(echo "${VERSION}" | cut -d "." -f3) )); \
git checkout "master~${NUMBER_COMMITS_TO_REVERT}"; \
@@ -24,4 +24,4 @@ RUN apk add --no-cache --virtual=.build-deps git \
USER node
EXPOSE 2525
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"