Fix isCrewSelected method to handle undefined crew value
[allerta-vvf.git] / docker_nginx / Dockerfile
blob9cddff63c790cdf4446d7840e34cbf54f00e12b0
1 FROM nginx:stable-alpine
3 ARG UID
4 ARG GID
6 ENV UID=${UID}
7 ENV GID=${GID}
9 # MacOS staff group's gid is 20, so is the dialout group in alpine linux. We're not using it, let's just remove it.
10 RUN delgroup dialout
12 RUN addgroup -g ${GID} --system laravel
13 RUN adduser -G laravel --system -D -s /bin/sh -u ${UID} laravel
14 RUN sed -i "s/user  nginx/user laravel/g" /etc/nginx/nginx.conf
16 ADD ./default.conf /etc/nginx/conf.d/