This repository has been archived on 2023-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-06-10 20:00:27 +00:00
|
|
|
FROM vikunja/frontend
|
|
|
|
|
2019-06-10 20:05:46 +00:00
|
|
|
RUN apt-get update && apt-get install -y apt-utils openssl && \
|
|
|
|
`# Prepare dummy SSL certificates` \
|
2019-06-10 20:00:27 +00:00
|
|
|
mkdir -p /etc/nginx/ssl && \
|
|
|
|
openssl genrsa -out /etc/nginx/ssl/dummy.key 2048 && \
|
|
|
|
openssl req -new -key /etc/nginx/ssl/dummy.key -out /etc/nginx/ssl/dummy.csr -subj "/C=GB/L=London/O=Company Ltd/CN=docker" && \
|
|
|
|
openssl x509 -req -days 3650 -in /etc/nginx/ssl/dummy.csr -signkey /etc/nginx/ssl/dummy.key -out /etc/nginx/ssl/dummy.crt
|
|
|
|
|
|
|
|
ADD nginx.conf /etc/nginx/nginx.conf
|