Skip to content

Commit

Permalink
Merge pull request #304 from ssbostan/master
Browse files Browse the repository at this point in the history
upgrade dockerfile
  • Loading branch information
ondras committed Jul 26, 2021
2 parents 68df5ac + 5ebe3e1 commit 9dead57
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Dockerfile
.dockerignore
.gitignore
.git
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
FROM tutum/apache-php
RUN apt-get update && apt-get install -yq git && rm -rf /var/lib/apt/lists/*
RUN rm -fr /app
ADD . /app
FROM php:5-apache

EXPOSE 80

WORKDIR /var/www/html

USER www-data

COPY . .

0 comments on commit 9dead57

Please sign in to comment.