Radek
commited on
Commit
·
67734d0
1
Parent(s):
5fd0049
Add application file 6
Browse files- 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
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
|