perf(docker): remove redundant recursive chmod to speed up frontend build
Deploy Canina / deploy (push) Successful in 1m47s
Deploy Canina / deploy (push) Successful in 1m47s
This commit is contained in:
1 parent
4b37652a18
commit
287011ea0e
1 file changed
-1
@@ -14,7 +14,6 @@ RUN if [ -n "$NPM_REGISTRY" ]; then \
|
||||
COPY frontend/application/package*.json ./
|
||||
RUN npm ci --include=dev --prefer-offline --no-audit
|
||||
COPY frontend/application ./
|
||||
RUN mkdir -p /app/.next && chmod -R 777 /app
|
||||
ARG NEXT_PUBLIC_API_URL
|
||||
ENV NEXT_PUBLIC_API_URL=$NEXT_PUBLIC_API_URL
|
||||
RUN npm run build
|
||||
|
||||
Reference in new issue
Block a user