mirror of
https://github.com/jackhh66/ChatGPT_Web_accessToken.git
synced 2026-12-03 20:29:34 +00:00
Add Dockerfile (#33)
* add Dockerfile * update Readme.md * Fixed : Docker log file * Update vite.config.ts
This commit is contained in:
4 files changed
+46
No files matched your search
+19
@@ -0,0 +1,19 @@
|
||||
FROM node:lts
|
||||
|
||||
# copy resource
|
||||
RUN mkdir /app
|
||||
COPY ./ /app
|
||||
WORKDIR /app
|
||||
|
||||
# build
|
||||
RUN npm install pnpm -g
|
||||
RUN pnpm bootstrap
|
||||
WORKDIR /app/service
|
||||
RUN pnpm install
|
||||
WORKDIR /app
|
||||
|
||||
EXPOSE 1002
|
||||
EXPOSE 3002
|
||||
|
||||
CMD ["/bin/bash","./start.sh"]
|
||||
|
||||
Reference in new issue
Block a user