# Use the base image FROM meyay/languagetool:latest # Document that the service listens on port 8010 EXPOSE 8010 RUN useradd -m -u 1000 user USER user ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH RUN chown -R user * RUN chmod 777 * RUN chown user /entrypoint.sh RUN chmod 777 /entrypoint.sh