File size: 328 Bytes
0a86968
 
 
5fd0049
85eed2d
0a86968
 
7f9e9df
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Use the base image
FROM meyay/languagetool:latest

RUN echo "$(pwd)"

# 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