mirror of
https://github.com/mainsail-crew/mainsail-docker.git
synced 2026-03-15 16:30:14 +01:00
17 lines
438 B
Docker
17 lines
438 B
Docker
FROM nginx:1
|
|
|
|
RUN addgroup --gid 1000 mainsail
|
|
RUN useradd -rm -d /home/mainsail -u 1000 -g 1000 mainsail
|
|
|
|
COPY nginx/common_vars.conf /etc/nginx/conf.d/common_vars.conf
|
|
COPY nginx/upstreams.conf /etc/nginx/conf.d/upstreams.conf
|
|
COPY nginx/mainsail.conf /etc/nginx/conf.d/default.conf
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y unzip
|
|
COPY start-web /bin/start-web
|
|
RUN chmod +x /bin/start-web
|
|
|
|
EXPOSE 80
|
|
|
|
ENTRYPOINT ["/bin/start-web"] |