Radek commited on
Commit
dc9fb21
1 Parent(s): 54cd6fd
Files changed (1) hide show
  1. Dockerfile +43 -0
Dockerfile ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Use the base image
2
+ #FROM meyay/languagetool:latest
3
+ FROM erikvl87/languagetool:latest
4
+
5
+ RUN echo "$(pwd)"
6
+ RUN echo "----------------------------------------------------"
7
+ RUN echo "$(ls -lha)"
8
+
9
+ # Document that the service listens on port 8010
10
+ EXPOSE 80
11
+
12
+
13
+
14
+
15
+ #RUN useradd -m -u 1000 languagetool
16
+ #
17
+ #RUN useradd -ms /bin/bash languagetool
18
+ #
19
+ #RUN chown languagetool:languagetool .
20
+ #RUN chmod u+rw .
21
+ #
22
+ #RUN chown languagetool:languagetool /entrypoint.sh
23
+ #RUN chmod u+rw /entrypoint.sh
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+ #RUN useradd -m -u 1000 user
33
+ #
34
+ #USER user
35
+ #
36
+ #ENV HOME=/home/user \
37
+ # PATH=/home/user/.local/bin:$PATH
38
+ #
39
+ ##RUN chown -R user *
40
+ ##RUN chmod 777 *
41
+ #
42
+ #RUN chown user /entrypoint.sh
43
+ #RUN chmod 777 /entrypoint.sh