mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-05 10:35:18 +02:00
save
This commit is contained in:
parent
d78312fad8
commit
50d374d9f6
8 changed files with 1735 additions and 21 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue