Skip to content

Commit

Permalink
ci: Fixed permission directories in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Oct 2, 2024
1 parent ba1b79f commit dd15407
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG BASE_HREF=/
COPY --chown=node:node frontend/ ./

RUN npm install && \
npm run build
npm run build ${BASE_HREF}

### Stage 2: Build the backend
FROM node:20 as build-backend
Expand All @@ -25,6 +25,8 @@ RUN npm install

COPY --chown=node:node backend/ ./

RUN mkdir -p /app/backend/dist/src && chown -R node:node /app/backend/dist

# Copy static files from the frontend build
COPY --from=build-frontend /app/frontend/dist/openvidu-call /app/backend/dist/public

Expand Down

0 comments on commit dd15407

Please sign in to comment.