Обновить Dockerfile

This commit is contained in:
2025-12-18 18:24:23 +00:00
parent c11c1f78ac
commit b8edb386de

View File

@@ -37,11 +37,11 @@
#RUN groupadd -r mattermost && useradd -r -g mattermost mattermost
#RUN useradd -r -u 1001 mattermost
WORKDIR /opt/mattermost
WORKDIR /mattermost
# Copy prepared Mattermost tree with MostlyMatter binary inside
#COPY --from=fetcher --chown=mattermost:mattermost /tmp/mattermost /opt/mattermost
COPY --from=fetcher /tmp/mattermost /opt/mattermost
COPY --from=fetcher /tmp/mattermost /mattermost
# Adjust permissions
#RUN chown -R mattermost:mattermost /opt/mattermost
@@ -53,5 +53,5 @@ COPY --from=fetcher /tmp/mattermost /opt/mattermost
EXPOSE 8065
ENTRYPOINT ["/opt/mattermost/bin/mostlymatter"]
ENTRYPOINT ["/mattermost/bin/mostlymatter"]
CMD ["server"]