Fast Refresh working (Except for Library Chats [SQL DB Not Found Error]
This commit is contained in:
parent
8d5ea43dec
commit
e00fe826b5
2 changed files with 7 additions and 4 deletions
|
|
@ -22,13 +22,15 @@ FROM node:20.18.0-slim
|
|||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
COPY --from=builder /home/perplexica/public ./public
|
||||
COPY --from=builder /home/perplexica /home/perplexica
|
||||
|
||||
# COPY --from=builder /home/perplexica/public ./public
|
||||
# COPY --from=builder /home/perplexica/.next/static ./public/_next/static
|
||||
|
||||
# COPY --from=builder /home/perplexica/.next/standalone ./
|
||||
COPY --from=builder /home/perplexica/data ./data
|
||||
# COPY --from=builder /home/perplexica/data ./data
|
||||
|
||||
RUN mkdir /home/perplexica/uploads
|
||||
RUN mkdir -p /home/perplexica/uploads
|
||||
|
||||
# CMD ["node", "server.js"]
|
||||
CMD ["yarn", "dev"]
|
||||
|
|
@ -28,7 +28,8 @@ services:
|
|||
- backend-dbstore:/home/perplexica/data
|
||||
- uploads:/home/perplexica/uploads
|
||||
- ./config.toml:/home/perplexica/config.toml
|
||||
- ./:/home/perplexica
|
||||
- ./src:/home/perplexica/src
|
||||
- ./public:/home/perplexica/public
|
||||
restart: unless-stopped
|
||||
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue