ctrlpanel/docker/nginx/Dockerfile
2021-06-07 20:33:12 +02:00

10 lines
273 B
Docker

FROM nginx:stable-alpine
RUN addgroup -g 1000 laravel && adduser -G laravel -g laravel -s /bin/sh -D laravel
ADD ./docker/nginx/nginx.conf /etc/nginx/
ADD ./docker/nginx/default.conf /etc/nginx/conf.d/
RUN mkdir -p /var/www/html
RUN chown laravel:laravel /var/www/html