We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdf0dd2 commit 795a0e3Copy full SHA for 795a0e3
Dockerfile
@@ -21,6 +21,12 @@ RUN openssl genrsa -des3 -passout pass:x -out server.pass.key 2048 && \
21
openssl req -new -key server.key -out server.csr -subj "/C=NL/ST=Overijssel/L=Enschede/O=PDSInterop/OU=PDSInterop/CN=solid.pdsinterop.org" && \
22
openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt
23
24
+# Create a custom user with UID 1234 and GID 1234
25
+RUN groupadd -g 1234 pubsubgroup && \
26
+ useradd -m -u 1234 -g pubsubgroup pubsubuser
27
+
28
+USER pubsubuser
29
30
WORKDIR /app/server/
31
EXPOSE 8080
32
CMD ["php", "server.php"]
0 commit comments