-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
26 lines (21 loc) · 1.26 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# **************************************************************************** #
# #
# ::: :::::::: #
# Dockerfile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: djulian <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/03/04 15:58:22 by douatla #+# #+# #
# Updated: 2020/03/29 19:41:36 by djulian ### ########.fr #
# #
# **************************************************************************** #
FROM debian:buster
RUN apt-get upgrade && apt-get update
RUN apt-get install -y nginx
RUN apt-get install -y vim
RUN apt-get install -y curl
RUN apt-get install -y php php-fpm php-mysql php-mysql
RUN apt-get install -y mariadb-server mariadb-client
ADD ./srcs/ /var/www/srcs
RUN cat /var/www/srcs/server.conf > /etc/nginx/sites-available/default
ENTRYPOINT '/var/www/srcs/launch.sh' && /bin/bash