Merge pull request #304 from ssbostan/master

upgrade dockerfile
This commit is contained in:
Ondřej Žára
2021-07-26 15:44:57 +02:00
committed by GitHub
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 . .