Dockerfile cleanup for .env setup
This commit is contained in:
1 parent
3adf8b67be
commit
a72de5105a
2 files changed
+1
-2
No files matched your search
@@ -28,7 +28,6 @@ COPY . /var/www/html/
|
||||
RUN composer install --no-dev --optimize-autoloader --no-interaction --prefer-dist \
|
||||
&& mkdir -p logs \
|
||||
&& chmod 755 logs \
|
||||
&& if [ ! -f .env ]; then cp .env.example .env; fi \
|
||||
&& chown -R www-data:www-data /var/www/html
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
Reference in new issue
Block a user