Update Dockerfile
This commit is contained in:
parent
d4763bc7fc
commit
39b7b5be5e
1 changed files with 6 additions and 3 deletions
|
|
@ -1,4 +1,7 @@
|
|||
FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.2:latest
|
||||
COPY . /app/srcs
|
||||
COPY ./public/build /app/srcs/public/build
|
||||
COPY ./vendor /app/srcs/vendor
|
||||
COPY --chown=www-data:www-data . /app/srcs
|
||||
COPY --chown=www-data:www-data ./public/build /app/srcs/public/build
|
||||
COPY --chown=www-data:www-data ./vendor /app/srcs/vendor
|
||||
USER root
|
||||
RUN chmod -R 755 /app/srcs/storage
|
||||
USER www-data
|
||||
Loading…
Add table
Reference in a new issue