forked from XiaoMo/ChatGPT-Next-Web
feat: add Dockerfile for docker deployment support
This commit is contained in:
parent
3f865ffa1e
commit
8d0d08725d
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
FROM node:18
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENV OPENAI_API_KEY=""
|
||||||
|
ENV CODE=""
|
||||||
|
|
||||||
|
COPY . ./
|
||||||
|
|
||||||
|
RUN yarn && yarn build
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD ["yarn","start"]
|
Loading…
Reference in New Issue
Block a user