This commit is contained in:
Milo Schwartz 2024-10-26 17:01:34 -04:00
parent d78312fad8
commit 50d374d9f6
No known key found for this signature in database
8 changed files with 1735 additions and 21 deletions

View file

@ -4,7 +4,7 @@ WORKDIR /app
COPY package.json ./
RUN npm install
RUN npm install --legacy-peer-deps
COPY . .
@ -18,12 +18,12 @@ WORKDIR /app
COPY package.json ./
RUN npm install --omit=dev
RUN npm install --omit=dev --legacy-peer-deps
COPY --from=builder /app/.next ./.next
COPY --from=builder /app/dist ./dist
COPY ./config/config.example.yml ./dist/config.example.yml
COPY ./server/db/names.json ./dist/names.json
COPY config.example.yml ./dist/config.example.yml
COPY server/db/names.json ./dist/names.json
CMD ["npm", "start"]