Spaces:
Running
Running
eienmojiki
commited on
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
FROM corentinth/enclosed
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
EXPOSE 8787
|
4 |
|
5 |
CMD ["node", "index.cjs"]
|
|
|
1 |
FROM corentinth/enclosed
|
2 |
|
3 |
+
RUN useradd -m -u 1000 koga
|
4 |
+
|
5 |
+
RUN chown -R koga: /app/.data/
|
6 |
+
|
7 |
+
USER koga
|
8 |
+
|
9 |
EXPOSE 8787
|
10 |
|
11 |
CMD ["node", "index.cjs"]
|