mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
webpack artifacts should exist for nginx image
This commit is contained in:
parent
81abbdb335
commit
72ef76b8a0
1 changed files with 2 additions and 2 deletions
|
|
@ -7,8 +7,8 @@ COPY package*.json /client/
|
||||||
RUN npm install
|
RUN npm install
|
||||||
# Copy the current directory contents into the container at /client
|
# Copy the current directory contents into the container at /client
|
||||||
COPY . /client/
|
COPY . /client/
|
||||||
# Run the app when the container launches
|
# Build webpack artifacts
|
||||||
CMD ["npm", "run", "build"]
|
RUN npm run build
|
||||||
|
|
||||||
# Stage 2
|
# Stage 2
|
||||||
FROM nginx:stable-alpine
|
FROM nginx:stable-alpine
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue