ctrlpanel/docker/nginx/Dockerfile

11 lines
273 B
Text
Raw Permalink Normal View History

2021-06-05 21:09:18 +00:00
FROM nginx:stable-alpine
2021-06-07 18:32:48 +00:00
RUN addgroup -g 1000 laravel && adduser -G laravel -g laravel -s /bin/sh -D laravel
2021-06-05 21:09:18 +00:00
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