ARG VERSION FROM libresh/nextcloud:${VERSION} as builder FROM nginx:alpine COPY --from=builder /usr/src/nextcloud /usr/src/nextcloud COPY default.conf.template /etc/nginx/templates/ CMD ["nginx", "-g", "daemon off;"]