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 /api/ /api/
|
||||
# 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
|
||||
EXPOSE 3080
|
||||
# Expose the server to 0.0.0.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue