Done templating
This commit is contained in:
19
dev.Dockerfile
Normal file
19
dev.Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM php:8.2-cli
|
||||
|
||||
# Install dependencies needed for Composer and PHP zip extension
|
||||
RUN apt-get update && apt-get install -y \
|
||||
curl \
|
||||
unzip \
|
||||
libzip-dev \
|
||||
&& docker-php-ext-install zip \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Download and install Composer
|
||||
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
|
||||
|
||||
# Verify Composer installation
|
||||
RUN composer --version
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD ["tail","-f", "/dev/null"]
|
||||
Reference in New Issue
Block a user