Skip to content

Commit 6603c45

Browse files
committed
sync: update gui paths in Dockerfile
1 parent 30f9f29 commit 6603c45

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ RUN npm cache clean --force \
2828
&& npm ci
2929

3030
# Run the build command if necessary
31-
RUN npm run build
31+
RUN cd src/gui && npm run build && cd -
3232

3333
# Production stage
3434
FROM node:21-alpine
@@ -46,7 +46,7 @@ RUN mkdir -p /opt/puter/app
4646
WORKDIR /opt/puter/app
4747

4848
# Copy built artifacts and necessary files from the build stage
49-
COPY --from=build /app/dist ./dist
49+
COPY --from=build /app/src/gui/dist ./dist
5050
COPY --from=build /app/node_modules ./node_modules
5151
COPY . .
5252

0 commit comments

Comments
 (0)