Add Dockerfile
This commit is contained in:
parent
fa24157e68
commit
59c5dbdae7
2 changed files with 9 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
.git
|
||||||
|
*.md
|
||||||
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Reference in a new issue