meyayllg / Dockerfile
Radek
Add application file 8
eeb96e4
raw
history blame
643 Bytes
# Use the base image
FROM meyay/languagetool:latest
RUN echo "$(pwd)"
RUN echo "----------------------------------------------------"
RUN echo "$(ls -lha)"
# Document that the service listens on port 8010
EXPOSE 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