# Use the base image #FROM meyay/languagetool:latest FROM silviof/docker-languagetool RUN echo "$(pwd)" RUN echo "----------------------------------------------------" RUN echo "$(ls -lha)" # Document that the service listens on port 8010 EXPOSE 80:8010 #RUN useradd -m -u 1000 languagetool # #RUN useradd -ms /bin/bash languagetool # #RUN chown languagetool:languagetool . #RUN chmod u+rw . # #RUN chown languagetool:languagetool /entrypoint.sh #RUN chmod u+rw /entrypoint.sh #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