-
Notifications
You must be signed in to change notification settings - Fork 214
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (22 loc) · 696 Bytes
/
Dockerfile
File metadata and controls
23 lines (22 loc) · 696 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM php:8.2-cli
WORKDIR /usr/src/app
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
curl \
libpng-dev \
libonig-dev \
libxml2-dev \
libzip-dev \
libicu-dev \
libfreetype6-dev \
libjpeg62-turbo-dev \
libwebp-dev \
&& curl -sL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
&& docker-php-ext-configure gd --with-freetype --with-jpeg --with-webp \
&& docker-php-ext-install pdo_mysql mbstring gd xml zip intl
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
COPY . .
RUN composer install --no-interaction
RUN npm install
EXPOSE 8000