rebrand: rename ImmichFrame to Frambe in Dockerfile labels
This commit is contained in:
+2
-9
@@ -1,28 +1,21 @@
|
|||||||
FROM node:18-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
LABEL maintainer="ImmichFrame"
|
LABEL maintainer="Frambe"
|
||||||
LABEL description="Lightweight digital photo frame for Immich"
|
LABEL description="Frambe — lightweight digital photo frame for Immich"
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Copy package files first for better caching
|
|
||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
|
|
||||||
# Install dependencies
|
|
||||||
RUN npm install --production && npm cache clean --force
|
RUN npm install --production && npm cache clean --force
|
||||||
|
|
||||||
# Copy application
|
|
||||||
COPY server.js ./
|
COPY server.js ./
|
||||||
COPY public/ ./public/
|
COPY public/ ./public/
|
||||||
|
|
||||||
# Expose port
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Health check
|
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
||||||
CMD wget -qO- http://localhost:3000/api/config || exit 1
|
CMD wget -qO- http://localhost:3000/api/config || exit 1
|
||||||
|
|
||||||
# Run as non-root
|
|
||||||
RUN addgroup -g 1001 -S appgroup && \
|
RUN addgroup -g 1001 -S appgroup && \
|
||||||
adduser -S appuser -u 1001 -G appgroup
|
adduser -S appuser -u 1001 -G appgroup
|
||||||
USER appuser
|
USER appuser
|
||||||
|
|||||||
Reference in New Issue
Block a user