mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-06 13:35:48 +01:00
🔥 Remove unneeded lines
Removed adduser and addgroup since they aren't needed.
This commit is contained in:
@@ -1,18 +1,12 @@
|
|||||||
FROM node:16-alpine
|
FROM node:16-alpine
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
ENV NODE_ENV production
|
ENV NODE_ENV production
|
||||||
RUN addgroup --system --gid 1001 nodejs
|
|
||||||
RUN adduser --system --uid 1001 nextjs
|
|
||||||
|
|
||||||
COPY /next.config.js ./
|
COPY /next.config.js ./
|
||||||
COPY /public ./public
|
COPY /public ./public
|
||||||
COPY /package.json ./package.json
|
COPY /package.json ./package.json
|
||||||
|
# Automatically leverage output traces to reduce image size. https://nextjs.org/docs/advanced-features/output-file-tracing
|
||||||
# Automatically leverage output traces to reduce image size
|
|
||||||
# https://nextjs.org/docs/advanced-features/output-file-tracing
|
|
||||||
COPY /.next/standalone ./
|
COPY /.next/standalone ./
|
||||||
COPY /.next/static ./.next/static
|
COPY /.next/static ./.next/static
|
||||||
|
|
||||||
EXPOSE 7575
|
EXPOSE 7575
|
||||||
ENV PORT 7575
|
ENV PORT 7575
|
||||||
VOLUME /app/data/configs
|
VOLUME /app/data/configs
|
||||||
|
|||||||
Reference in New Issue
Block a user