feat(dev): Implement Docker-based dev environment with hot reload and update CONTRIBUTING.md
This commit is contained in:
parent
00a52fc3b1
commit
afd7c2943f
6 changed files with 232 additions and 10 deletions
14
app.dev.dockerfile
Normal file
14
app.dev.dockerfile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
FROM node:slim
|
||||
|
||||
ARG NEXT_PUBLIC_WS_URL
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
ENV NEXT_PUBLIC_WS_URL=${NEXT_PUBLIC_WS_URL}
|
||||
ENV NEXT_PUBLIC_API_URL=${NEXT_PUBLIC_API_URL}
|
||||
|
||||
WORKDIR /home/perplexica
|
||||
|
||||
COPY ui /home/perplexica/
|
||||
|
||||
RUN yarn install
|
||||
|
||||
CMD ["yarn", "dev"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue