Radek commited on
Commit
67734d0
·
1 Parent(s): 5fd0049

Add application file 6

Browse files
Files changed (1) hide show
  1. Dockerfile +20 -12
Dockerfile CHANGED
@@ -2,20 +2,28 @@
2
  FROM meyay/languagetool:latest
3
 
4
  RUN echo "$(pwd)"
 
 
5
 
6
  # Document that the service listens on port 8010
7
  EXPOSE 8010
8
 
9
- RUN useradd -m -u 1000 user
10
-
11
- USER user
12
-
13
- ENV HOME=/home/user \
14
- PATH=/home/user/.local/bin:$PATH
15
-
16
- RUN chown -R user *
17
- RUN chmod 777 *
18
-
19
- RUN chown user /entrypoint.sh
20
- RUN chmod 777 /entrypoint.sh
 
 
 
 
 
 
21
 
 
2
  FROM meyay/languagetool:latest
3
 
4
  RUN echo "$(pwd)"
5
+ RUN echo "----------------------------------------------------"
6
+ RUN echo "$(ls -lha)"
7
 
8
  # Document that the service listens on port 8010
9
  EXPOSE 8010
10
 
11
+ RUN chown languagetool:languagetool .
12
+ RUN chmod u+rw .
13
+
14
+ RUN chown languagetool:languagetool /entrypoint.sh
15
+ RUN chmod u+rw /entrypoint.sh
16
+
17
+ #RUN useradd -m -u 1000 user
18
+ #
19
+ #USER user
20
+ #
21
+ #ENV HOME=/home/user \
22
+ # PATH=/home/user/.local/bin:$PATH
23
+ #
24
+ ##RUN chown -R user *
25
+ ##RUN chmod 777 *
26
+ #
27
+ #RUN chown user /entrypoint.sh
28
+ #RUN chmod 777 /entrypoint.sh
29