another attempt at making it smaller
Some checks failed
Publish Docker Image / docker (push) Failing after 19s

This commit is contained in:
Lee 2023-07-12 11:28:23 +01:00
parent e321ce1cb4
commit 56ebc94673

View File

@ -9,15 +9,15 @@ COPY package.json ./
COPY package-lock.json ./
RUN npm ci --production --silent && npm cache clean --force
# Copy the rest of the files
COPY . .
# Copy only necessary files for production
COPY .next ./.next
COPY public ./public
COPY config.json ./
COPY next.config.js ./
# Opt out of Next.js telemetry
RUN npx next telemetry disable
# Build the app
#RUN npm run build
# Expose port 3000
EXPOSE 3000