diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..7476aa0 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +.git +*.md \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..1688819 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM registry.s-web.fr/ldc-web/projets/ldc-web-images-docker/ldcweb-production-8.2:latest +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 \ No newline at end of file