mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
refactor(Dockerfile): change COPY command to copy client side code from /client/dist instead of /client/public
refactor(Dockerfile): change port number from 3080 to 80 refactor(Dockerfile): remove unnecessary EXPOSE command refactor(package.json): remove devDependencies for Vite and React plugin
This commit is contained in:
parent
b14726b2dd
commit
8bc4d5e3fd
3 changed files with 1 additions and 2196 deletions
|
|
@ -18,7 +18,7 @@ RUN npm ci
|
||||||
# Copy the current directory contents into the container at /api
|
# Copy the current directory contents into the container at /api
|
||||||
COPY /api/ /api/
|
COPY /api/ /api/
|
||||||
# Copy the client side code
|
# Copy the client side code
|
||||||
COPY --from=react-client /client/public /client/public
|
COPY --from=react-client /client/dist /client/dist
|
||||||
# Make port 3080 available to the world outside this container
|
# Make port 3080 available to the world outside this container
|
||||||
EXPOSE 3080
|
EXPOSE 3080
|
||||||
# Expose the server to 0.0.0.0
|
# Expose the server to 0.0.0.0
|
||||||
|
|
|
||||||
2188
package-lock.json
generated
2188
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"devDependencies": {
|
|
||||||
"@vitejs/plugin-react": "^3.1.0",
|
|
||||||
"vite": "^4.2.1",
|
|
||||||
"vite-plugin-html": "^3.2.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue