mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-06 04:26:13 +01:00
copy the next.config.js in order to get custom domains working again (#147)
This commit is contained in:
@@ -27,7 +27,7 @@ RUN rm -r .next/cache
|
|||||||
FROM node:21-alpine as runtime-deps
|
FROM node:21-alpine as runtime-deps
|
||||||
|
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
COPY --from=base /usr/app/package.json /usr/app/package-lock.json ./
|
COPY --from=base /usr/app/package.json /usr/app/package-lock.json /usr/app/next.config.js ./
|
||||||
COPY --from=base /usr/app/prisma ./prisma
|
COPY --from=base /usr/app/prisma ./prisma
|
||||||
|
|
||||||
RUN npm ci --omit=dev --omit=optional --ignore-scripts && \
|
RUN npm ci --omit=dev --omit=optional --ignore-scripts && \
|
||||||
@@ -38,7 +38,7 @@ FROM node:21-alpine as runner
|
|||||||
EXPOSE 3000/tcp
|
EXPOSE 3000/tcp
|
||||||
WORKDIR /usr/app
|
WORKDIR /usr/app
|
||||||
|
|
||||||
COPY --from=base /usr/app/package.json /usr/app/package-lock.json ./
|
COPY --from=base /usr/app/package.json /usr/app/package-lock.json /usr/app/next.config.js ./
|
||||||
COPY --from=runtime-deps /usr/app/node_modules ./node_modules
|
COPY --from=runtime-deps /usr/app/node_modules ./node_modules
|
||||||
COPY ./public ./public
|
COPY ./public ./public
|
||||||
COPY ./scripts ./scripts
|
COPY ./scripts ./scripts
|
||||||
|
|||||||
Reference in New Issue
Block a user