mirror of
https://github.com/supanadit/todo.git
synced 2024-11-23 10:46:23 +00:00
Update Dockerfile
This commit is contained in:
parent
399db0b550
commit
9a32ce701e
23
Dockerfile
23
Dockerfile
@ -2,20 +2,7 @@ FROM php:7.4-apache
|
||||
|
||||
RUN apt-get update
|
||||
|
||||
# 1. development packages
|
||||
RUN apt-get install -y git zip
|
||||
# curl \
|
||||
# sudo \
|
||||
# unzip \
|
||||
# libicu-dev \
|
||||
# libzip-dev \
|
||||
# libbz2-dev \
|
||||
# libpng-dev \
|
||||
# libjpeg-dev \
|
||||
# libmcrypt-dev \
|
||||
# libreadline-dev \
|
||||
# libfreetype6-dev \
|
||||
# g++
|
||||
|
||||
# Set Apache Root
|
||||
ENV APACHE_DOCUMENT_ROOT=/var/www/html/public
|
||||
@ -27,16 +14,6 @@ RUN a2enmod rewrite headers
|
||||
|
||||
RUN docker-php-ext-install pdo pdo_mysql
|
||||
|
||||
#RUN docker-php-ext-install \
|
||||
# bz2 \
|
||||
# intl \
|
||||
# iconv \
|
||||
# bcmath \
|
||||
# opcache \
|
||||
# calendar \
|
||||
# pdo_mysql \
|
||||
# zip
|
||||
|
||||
# Composer
|
||||
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user