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