feat(release): prepare first public preview
This commit is contained in:
+8
-2
@@ -54,6 +54,8 @@ RUN node --version
|
||||
|
||||
ARG MAGENT_UID=1000
|
||||
ARG MAGENT_GID=1000
|
||||
ARG MAGENT_VERSION=0.1.0-preview.1
|
||||
ARG MAGENT_REVISION=unknown
|
||||
RUN addgroup -g ${MAGENT_GID} magent \
|
||||
&& adduser -D -u ${MAGENT_UID} -G magent -s /sbin/nologin magent \
|
||||
&& install -d -o magent -g magent -m 0700 /app/data \
|
||||
@@ -76,12 +78,16 @@ COPY --chown=magent:magent --from=frontend-builder /frontend/.next/static /app/f
|
||||
COPY --chown=magent:magent --from=frontend-builder /frontend/public /app/frontend/public
|
||||
|
||||
COPY docker/supervisord.conf /etc/supervisor/conf.d/magent.conf
|
||||
COPY LICENSE /usr/share/licenses/magent/LICENSE
|
||||
COPY --chown=magent:magent LICENSE /usr/share/licenses/magent/LICENSE
|
||||
COPY --chown=magent:magent THIRD_PARTY_NOTICES.md /usr/share/licenses/magent/THIRD_PARTY_NOTICES.md
|
||||
COPY --from=frontend-builder /licenses /usr/share/licenses/magent/frontend
|
||||
|
||||
LABEL org.opencontainers.image.title="Magent" \
|
||||
org.opencontainers.image.description="Self-hosted media requests, issues and viewing insights" \
|
||||
org.opencontainers.image.licenses="MIT"
|
||||
org.opencontainers.image.licenses="MIT" \
|
||||
org.opencontainers.image.source="https://git.amslabs.net/Rephl3x/Magent-Public" \
|
||||
org.opencontainers.image.version="${MAGENT_VERSION}" \
|
||||
org.opencontainers.image.revision="${MAGENT_REVISION}"
|
||||
|
||||
USER magent:magent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user