Radek
commited on
Commit
·
7f9e9df
1
Parent(s):
e465d2e
Add application file 3
Browse files- Dockerfile +14 -0
Dockerfile
CHANGED
@@ -3,3 +3,17 @@ FROM meyay/languagetool:latest
|
|
3 |
|
4 |
# Document that the service listens on port 8010
|
5 |
EXPOSE 8010
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
4 |
# Document that the service listens on port 8010
|
5 |
EXPOSE 8010
|
6 |
+
|
7 |
+
RUN useradd -m -u 1000 user
|
8 |
+
|
9 |
+
USER user
|
10 |
+
|
11 |
+
ENV HOME=/home/user \
|
12 |
+
PATH=/home/user/.local/bin:$PATH
|
13 |
+
|
14 |
+
RUN chown -R user *
|
15 |
+
RUN chmod 777 *
|
16 |
+
|
17 |
+
RUN chown user /entrypoint.sh
|
18 |
+
RUN chmod 777 /entrypoint.sh
|
19 |
+
|