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 09555f3 commit 35e06f3Copy full SHA for 35e06f3
Dockerfile
@@ -35,6 +35,12 @@ COPY --from=builder /usr/local/bin /usr/local/bin
35
# Copy only the source code directory needed at runtime
36
COPY --from=builder /app/src/stac_auth_proxy /app/src/stac_auth_proxy
37
38
+
39
+RUN useradd -m -u 1001 -s /bin/bash user && \
40
+ chown -R user:user /app
41
42
+USER user
43
44
ENV PYTHONPATH=/app/src
45
46
CMD ["python", "-m", "stac_auth_proxy"]
0 commit comments