Skip to content

Commit 881c69d

Browse files
Merge pull request ProbiusOfficial#2 from leohearts/main
feat: add docker
2 parents fc0d118 + 5da61ab commit 881c69d

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM php:5.4-apache
2+
COPY . /var/www/html
3+
RUN sed -i 's/Options FollowSymLinks/Options +FollowSymLinks +Indexes/g' /etc/apache2/apache2.conf
4+
RUN echo '<IfModule mime_module>\nAddDefaultCharset UTF-8\n</IfModule>' > /etc/apache2/conf-enabled/default-charset.conf
5+
EXPOSE 80

docker-compose.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: '2'
2+
services:
3+
phpserialize-labs:
4+
build: .
5+
ports:
6+
- "8080:80"
7+

0 commit comments

Comments
 (0)