Compare commits

..
Author SHA1 Message Date
marc 46f79cbe9f pls ignore .env files 2022-10-12 10:55:41 +02:00
marc 4942daea62 all env files 2022-09-28 16:32:39 +02:00
marc 0cf2367cbe ignoring env file when building image 2022-09-28 16:30:05 +02:00
2 changed files with 8 additions and 2 deletions
+3 -1
View File
@@ -4,6 +4,8 @@
.vscode
.DS_Store
docker-compose*.yml
.env
.env.template
# Back
back/.DS_Store
@@ -17,4 +19,4 @@ var
# Front
front/.DS_Store
front/node_modules/
front/dist/
front/dist/
+5 -1
View File
@@ -1,5 +1,7 @@
FROM php:7.2-apache
RUN mkdir -p /home/numeris
# Install packages
RUN apt-get update && apt-get install -y \
git \
@@ -26,9 +28,11 @@ WORKDIR /home/numeris
RUN composer install --no-interaction
# Final touch
# RUN . ~/.bashrc
RUN . ~/.bashrc
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN usermod -u 1000 www-data
RUN chown -R www-data:www-data /home/numeris
RUN chown -R www-data:www-data /var/log/apache2/
WORKDIR /home/numeris