[W0-3] QoL Fix
This commit is contained in:
		@@ -26,7 +26,9 @@ RUN sed -i 's/^listen.group = .*/group = www-data/' /etc/php/7.1/fpm/pool.d/www.
 | 
			
		||||
# Build w0bm
 | 
			
		||||
USER w0bm
 | 
			
		||||
WORKDIR /home/w0bm/application
 | 
			
		||||
RUN git clone https://git.lat/w0bm/w0bm.git
 | 
			
		||||
# get software
 | 
			
		||||
#RUN git clone https://git.lat/w0bm/w0bm.git
 | 
			
		||||
COPY --chown=w0bm:w0bm ./Gw0bm /home/w0bm/application/w0bm
 | 
			
		||||
WORKDIR /home/w0bm/application/w0bm
 | 
			
		||||
COPY ./conf/.env /home/w0bm/application/w0bm
 | 
			
		||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
 | 
			
		||||
@@ -34,7 +36,7 @@ RUN php composer-setup.php --2.2
 | 
			
		||||
RUN php composer.phar dump-autoload
 | 
			
		||||
RUN php composer.phar install --no-scripts
 | 
			
		||||
WORKDIR /home/w0bm/application/w0bm/public
 | 
			
		||||
RUN mkdir b thumbs thumbs/beta thumbs/blurred
 | 
			
		||||
RUN mkdir -p b thumbs thumbs/beta thumbs/blurred
 | 
			
		||||
# Launch Application
 | 
			
		||||
WORKDIR /home/w0bm/application/w0bm
 | 
			
		||||
ENTRYPOINT ["php", "artisan", "serve", "--host", "0.0.0.0"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user