Co-authored-by: Adam Bem <adam.bem@zoho.eu> Reviewed-on: #193 Reviewed-by: Mikolaj Widla <widlam@noreply.example.com>
21 lines
441 B
Docker
21 lines
441 B
Docker
FROM nginx:stable-alpine
|
|
|
|
RUN apk add --no-cache tzdata
|
|
ENV TZ Europe/Warsaw
|
|
|
|
COPY ./tools/ /usr/share/nginx/html/tools/
|
|
COPY ./lawful/ /usr/share/nginx/html/lawful/
|
|
COPY ./assets/ /usr/share/nginx/html/assets/
|
|
COPY ./index.html /usr/share/nginx/html
|
|
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
RUN mkdir -p /scripts
|
|
COPY insert_version.sh /scripts/
|
|
WORKDIR /scripts
|
|
|
|
RUN chmod +x insert_version.sh
|
|
RUN ./insert_version.sh
|
|
|
|
|
|
EXPOSE 80
|