mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-13 23:44:40 +03:00
Configure pgweb user for docker container (#674)
* Configure pgweb user for docker container * Set UID to 1000
This commit is contained in:
parent
b2067fbc8d
commit
52f7988ebd
@ -37,5 +37,8 @@ RUN . /etc/os-release && \
|
||||
|
||||
COPY --from=build /build/pgweb /usr/bin/pgweb
|
||||
|
||||
RUN useradd --uid 1000 --no-create-home --shell /bin/false pgweb
|
||||
USER pgweb
|
||||
|
||||
EXPOSE 8081
|
||||
ENTRYPOINT ["/usr/bin/pgweb", "--bind=0.0.0.0", "--listen=8081"]
|
||||
|
Loading…
Reference in New Issue
Block a user