Republishing of FIC2014 challenges
This commit is contained in:
parent
939e6d994d
commit
c54f929846
24 changed files with 329 additions and 117 deletions
26
Dockerfile
Normal file
26
Dockerfile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# /!\ WARNING: the container generated through this Dockerfile is made only for development purpose; it is NOT SAFE or production ready.
|
||||
|
||||
FROM php:5.5-fpm-alpine
|
||||
MAINTAINER Pierre-Olivier Mercier <nemunaire@nemunai.re>
|
||||
|
||||
# Install packages ####################################################
|
||||
|
||||
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin/
|
||||
|
||||
RUN chmod +x /usr/local/bin/install-php-extensions && \
|
||||
install-php-extensions mysql mcrypt
|
||||
|
||||
# ENVIRONNEMENT #######################################################
|
||||
|
||||
EXPOSE 80/tcp 443/tcp
|
||||
VOLUME ["/var/www/fic-server/out","/var/www/fic-server/files","/var/www/fic-server/submission","/var/www/fic-server/shared"]
|
||||
|
||||
WORKDIR /var/www/fic-server
|
||||
|
||||
ENTRYPOINT ["/var/www/fic-server/entrypoint.sh"]
|
||||
|
||||
CMD ["php-fpm"]
|
||||
|
||||
# Copying files #######################################################
|
||||
|
||||
COPY . /var/www/fic-server/
|
||||
Reference in a new issue