2022-08-30 15:09:09 +02:00
|
|
|
FROM nubisware/conductor-frontend:common
|
2022-07-25 11:17:17 +02:00
|
|
|
|
|
|
|
LABEL maintainer="Nubisware <info@nubisware.com>"
|
|
|
|
|
2022-08-30 15:09:09 +02:00
|
|
|
# Ensure that cache is invalidated
|
|
|
|
ADD "https://www.random.org/cgi-bin/randbyte?nbytes=10&format=h" skipcache
|
|
|
|
|
|
|
|
# Copy compiled UI assets to nginx www directory
|
|
|
|
WORKDIR /usr/share/nginx/html
|
|
|
|
RUN rm -rf ./*
|
|
|
|
COPY build/ .
|
|
|
|
|
2022-07-25 11:17:17 +02:00
|
|
|
# Copy NGINX default configuration
|
2022-08-30 15:09:09 +02:00
|
|
|
COPY ./config.dev/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf
|
2022-07-25 11:17:17 +02:00
|
|
|
|