FROM nginx:1.27-bookworm

# render ssh needs ~/.ssh for the running user and an unlocked root
RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh && usermod --unlock root

COPY nginx.render.conf /etc/nginx/conf.d/default.conf
