Skip to content

Commit 39f389f

Browse files
committed
Added Dockerfile
1 parent f12f117 commit 39f389f

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.git

Dockerfile

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM xaamin/php
2+
MAINTAINER Benjamín Martínez Mateos <bmxamin@gmail.com>
3+
4+
# Set memory limit
5+
RUN sed -i 's/memory_limit = .*/memory_limit = -1/' /etc/php5/cli/php.ini
6+
7+
# Add env variables
8+
ENV TRIES 5
9+
10+
# Add bootstrap file
11+
ADD start.bash /start.bash
12+
13+
# Add supervisor config file
14+
ADD supervisord.conf /etc/supervisor/supervisord.conf
15+
16+
# Define default command.
17+
CMD ["/bin/bash", "/start.bash"]

0 commit comments

Comments
 (0)