File size: 725 Bytes
dc9fb21 f7f8db4 dc9fb21 6aefda9 dc9fb21 6aefda9 dc9fb21 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# 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 7860:8010
CMD ["bash", "start.sh"]
#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
|