mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 14:18:43 +08:00
sync: update gui paths in Dockerfile
This commit is contained in:
parent
30f9f29982
commit
6603c45093
@ -28,7 +28,7 @@ RUN npm cache clean --force \
|
|||||||
&& npm ci
|
&& npm ci
|
||||||
|
|
||||||
# Run the build command if necessary
|
# Run the build command if necessary
|
||||||
RUN npm run build
|
RUN cd src/gui && npm run build && cd -
|
||||||
|
|
||||||
# Production stage
|
# Production stage
|
||||||
FROM node:21-alpine
|
FROM node:21-alpine
|
||||||
@ -46,7 +46,7 @@ RUN mkdir -p /opt/puter/app
|
|||||||
WORKDIR /opt/puter/app
|
WORKDIR /opt/puter/app
|
||||||
|
|
||||||
# Copy built artifacts and necessary files from the build stage
|
# Copy built artifacts and necessary files from the build stage
|
||||||
COPY --from=build /app/dist ./dist
|
COPY --from=build /app/src/gui/dist ./dist
|
||||||
COPY --from=build /app/node_modules ./node_modules
|
COPY --from=build /app/node_modules ./node_modules
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user