Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1697093346 | ||
![]() |
0be20c4b87 | ||
![]() |
f413947405 | ||
![]() |
48a495ac16 | ||
![]() |
5e3decc5d8 | ||
![]() |
90f5cace05 | ||
![]() |
fcef16ab1d |
@ -1,8 +1,8 @@
|
|||||||
FROM alpine:3.6
|
FROM alpine:3.9
|
||||||
|
|
||||||
# Some ENV variables
|
# Some ENV variables
|
||||||
ENV PATH="/mattermost/bin:${PATH}"
|
ENV PATH="/mattermost/bin:${PATH}"
|
||||||
ENV MM_VERSION=4.10.0
|
ENV MM_VERSION=4.10.6
|
||||||
|
|
||||||
# Build argument to set Mattermost edition
|
# Build argument to set Mattermost edition
|
||||||
ARG edition=enterprise
|
ARG edition=enterprise
|
||||||
@ -33,9 +33,9 @@ RUN mkdir -p /mattermost/data \
|
|||||||
# Get ready for production
|
# Get ready for production
|
||||||
RUN addgroup -g ${PGID} mattermost \
|
RUN addgroup -g ${PGID} mattermost \
|
||||||
&& adduser -D -u ${PUID} -G mattermost -h /mattermost -D mattermost \
|
&& adduser -D -u ${PUID} -G mattermost -h /mattermost -D mattermost \
|
||||||
&& chown -R mattermost:mattermost /mattermost /config.json.save
|
&& chown -R mattermost:mattermost /mattermost /config.json.save
|
||||||
|
|
||||||
USER mattermost
|
USER mattermost
|
||||||
|
|
||||||
#Healthcheck to make sure container is ready
|
#Healthcheck to make sure container is ready
|
||||||
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1
|
HEALTHCHECK CMD curl --fail http://localhost:8000 || exit 1
|
||||||
|
Reference in New Issue
Block a user