Add control for UID and GID
This commit is contained in:
@@ -30,7 +30,8 @@ RUN apk --no-cache add \
|
||||
${PHP_VER}-tokenizer \
|
||||
${PHP_VER}-xmlwriter \
|
||||
${PHP_VER}-zip \
|
||||
${PHP_VER}-zlib && \
|
||||
${PHP_VER}-zlib \
|
||||
shadow && \
|
||||
mkdir -p \
|
||||
/app \
|
||||
/run/nginx \
|
||||
@@ -50,6 +51,7 @@ RUN apk --no-cache add yarn && \
|
||||
tar -xzvf panel.tar.gz && \
|
||||
rm panel.tar.gz && \
|
||||
chmod -R 755 storage/* bootstrap/cache && \
|
||||
rm -rf /app/storage/logs && \
|
||||
find storage -type d > .storage.tmpl && \
|
||||
curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer && \
|
||||
cp .env.example .env && \
|
||||
@@ -58,7 +60,7 @@ RUN apk --no-cache add yarn && \
|
||||
yarn install --production && \
|
||||
yarn add cross-env && \
|
||||
yarn run build:production && \
|
||||
rm -rf node_modules .env ./storage
|
||||
rm -rf node_modules .env storage
|
||||
|
||||
FROM base AS release
|
||||
WORKDIR /app
|
||||
|
Reference in New Issue
Block a user