Initial commit
This commit is contained in:
		
							
								
								
									
										22
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,22 @@
 | 
			
		||||
# NoccyLabs Alpine Nginx+PHP 8.3 Base Image
 | 
			
		||||
FROM alpine:3.19
 | 
			
		||||
 | 
			
		||||
RUN apk add --no-cache \
 | 
			
		||||
  php83-fpm php83-cli \
 | 
			
		||||
  php83-curl php83-iconv php83-gd php83-mbstring php83-posix \
 | 
			
		||||
  php83-phar php83-openssl php83-ctype php83-tokenizer php83-xml php83-session \
 | 
			
		||||
  php83-dom php83-pecl-imagick php83-zip php83-xmlwriter php83-simplexml php83-xmlreader \
 | 
			
		||||
  php83-pdo php83-pdo_sqlite php83-pdo_mysql php83-fileinfo php83-exif \
 | 
			
		||||
  tini \
 | 
			
		||||
  nginx \
 | 
			
		||||
  supervisor
 | 
			
		||||
 | 
			
		||||
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
 | 
			
		||||
COPY ./config/supervisor/* /etc/supervisor.d/
 | 
			
		||||
COPY ./config/frameworks/* /scripts/frameworks/
 | 
			
		||||
COPY ./config/entrypoint.sh /scripts/entrypoint.sh
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT [ "/sbin/tini", "--" ]
 | 
			
		||||
CMD /scripts/entrypoint.sh
 | 
			
		||||
WORKDIR /application
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
		Reference in New Issue
	
	Block a user