mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-04 20:45:56 +01:00
🔧 Move npm install to top in docker file
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
RUN npm i -g prisma
|
||||
|
||||
ENV NEXT_TELEMETRY_DISABLED 1
|
||||
ENV NODE_ENV production
|
||||
ENV NODE_OPTIONS '--no-experimental-fetch'
|
||||
@@ -18,8 +20,6 @@ COPY prisma/schema.prisma prisma/schema.prisma
|
||||
|
||||
COPY ./scripts/run.sh ./scripts/run.sh
|
||||
|
||||
RUN npm i -g prisma
|
||||
|
||||
EXPOSE 7575
|
||||
|
||||
ENV PORT 7575
|
||||
|
||||
Reference in New Issue
Block a user