ARG VERSION=latest
FROM docker.io/onlyoffice/documentserver:$VERSION
ARG PUID=33
RUN \
usermod --uid $PUID www-data && \
chown -R www-data /var/www/