upgrade dockerfile

This commit is contained in:
Saeid Bostandoust
2021-07-09 18:29:27 +04:30
parent 68df5aca2d
commit 5ebe3e1baa
2 changed files with 13 additions and 4 deletions
+4
View File
@@ -0,0 +1,4 @@
Dockerfile
.dockerignore
.gitignore
.git
+9 -4
View File
@@ -1,4 +1,9 @@
FROM tutum/apache-php FROM php:5-apache
RUN apt-get update && apt-get install -yq git && rm -rf /var/lib/apt/lists/*
RUN rm -fr /app EXPOSE 80
ADD . /app
WORKDIR /var/www/html
USER www-data
COPY . .