Files
streamline-emr/docker/streamline-src/.docker/nginx/Dockerfile
T
alec.turner a424394109 Build modified streamline images
The official image from streamline does not currently work for the arm64
platform. As a temporary measure, the source code and docker build scripts
have been lifted from the official images and are used to build locally.

Some additional modifications are made to reduce overall image size, these
are documented in docker/README.md
2024-03-10 16:17:50 -07:00

12 lines
327 B
Docker

FROM nginx:alpine3.18-slim
ENV NGINXUSER=streamline
ENV NGINXGROUP=streamline
RUN set -eux; \
mkdir -p /var/www/html/public; \
adduser -g ${NGINXGROUP} -s /bin/sh -D ${NGINXUSER}; \
sed -i "s/user www-data/user ${NGINXUSER}/g" /etc/nginx/nginx.conf
ADD .docker/nginx/default.conf /etc/nginx/conf.d/default.conf