You've already forked Mailu
mirror of
https://github.com/Mailu/Mailu.git
synced 2025-12-07 23:03:21 +02:00
Process code review remarks
- Moved run to bottom of Dockerfile to allow using unmodified / cached states. - Simplified bash code in deploy.sh. - Improved the large bash one-liner in CI.yml. It could not handle >9 for 1.x.
This commit is contained in:
@@ -5,7 +5,6 @@ ARG VERSION
|
||||
ENV TZ Etc/UTC
|
||||
|
||||
LABEL version=$VERSION
|
||||
RUN echo $VERSION >> /version
|
||||
|
||||
# python3 shared with most images
|
||||
RUN apk add --no-cache \
|
||||
@@ -41,3 +40,4 @@ EXPOSE 5432
|
||||
|
||||
CMD /start.py
|
||||
HEALTHCHECK CMD psql -h 127.0.0.1 -d postgres -U health -c "select 1 as ok;" || exit 1
|
||||
RUN echo $VERSION >> /version
|
||||
Reference in New Issue
Block a user