Skip to content
This repository was archived by the owner on Mar 15, 2023. It is now read-only.

Commit 66e0038

Browse files
committed
Fix permissions
1 parent 637fd29 commit 66e0038

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ ARG IMAGICK=true
77

88
USER root
99

10-
# Start script
11-
COPY start.sh /usr/local/bin/start
12-
RUN chmod u+x /usr/local/bin/start
13-
1410
# Install system dependencies
1511
RUN apt-get update > /dev/null && \
1612
apt-get install -y --no-install-recommends \
@@ -56,6 +52,11 @@ RUN useradd -G www-data,root -u 1234 -d /home/laravel laravel
5652
RUN mkdir -p /home/laravel/.composer
5753
RUN chown -R laravel:laravel /home/laravel
5854

55+
# Start script
56+
COPY start.sh /usr/local/bin/start
57+
RUN chmod u+x /usr/local/bin/start
58+
RUN chown -R laravel:laravel /usr/local/bin/start
59+
5960
# Set working directory
6061
WORKDIR /var/www
6162

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 3.7
1+
version: "3.7"
22
services:
33
laravel:
44
image: iamrgroot/laravel:${TAG:-php7.4fpm-node14}

0 commit comments

Comments
 (0)