-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
32 lines (26 loc) · 1.47 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
27
28
29
30
31
32
# **************************************************************************** #
# #
# ::: :::::::: #
# Dockerfile :+: :+: :+: #
# +:+ +:+ +:+ #
# By: apuchill <[email protected]> +#+ +:+ +#+ #
# +#+#+#+#+#+ +#+ #
# Created: 2020/07/06 21:39:34 by apuchill #+# #+# #
# Updated: 2020/07/12 18:07:48 by apuchill ### ########.fr #
# #
# **************************************************************************** #
# Select image from Dockerhub - Debian Buster @ https://hub.docker.com/_/debian
FROM debian:buster
# Run installation non-interactively (faster)
ARG DEBIAN_FRONTEND=noninteractive
# Copy setup files to container
COPY srcs /tmp/
# Install OS updates and webserver tools
# * -y: Automatic yes to prompts; assume "yes" as answer to all prompts and run
# non-interactively.
RUN apt-get update && apt-get upgrade -u && apt-get install -y \
nginx openssl mariadb-server php7.3 php-fpm php-mysql php-cli php-mbstring
# Run setup script
RUN bash /tmp/setup.sh
# Start services
ENTRYPOINT bash /tmp/services.sh