fix: ensure proper ownership of Flutter SDK cache directory in Dockerfile
This commit is contained in:
@@ -4,6 +4,7 @@ FROM ghcr.io/cirruslabs/flutter:stable AS builder
|
||||
WORKDIR /app
|
||||
|
||||
RUN useradd -m -u 10001 flutteruser
|
||||
RUN chown -R flutteruser:flutteruser /sdks/flutter/bin/cache
|
||||
|
||||
COPY --chown=flutteruser:flutteruser pubspec.yaml pubspec.lock* ./
|
||||
USER flutteruser
|
||||
|
||||
Reference in New Issue
Block a user