srcf
This commit is contained in:
@@ -11,9 +11,10 @@ COPY ./misc/docker/apache.conf /etc/apache2/conf.d/nine/site.conf
|
||||
WORKDIR /app
|
||||
|
||||
# Crée vendor à l’avance et donne les droits
|
||||
RUN mkdir -p /app/vendor && chown -R apache:apache /app
|
||||
RUN mkdir -p /app/vendor && mkdir -p /app/var && chown -R apache:apache /app
|
||||
|
||||
USER apache
|
||||
WORKDIR /app
|
||||
COPY --chown=apache:apache . .
|
||||
|
||||
RUN composer install --no-interaction
|
||||
|
Reference in New Issue
Block a user