Commit aae04b5f authored by Svetomir Smiljkovic's avatar Svetomir Smiljkovic

Update Dockerfile user and port settings

parent 8d710ef0
...@@ -12,13 +12,16 @@ FROM debian:10.2-slim ...@@ -12,13 +12,16 @@ FROM debian:10.2-slim
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ca-certificates && \ ca-certificates; \
apt-get clean && rm -rf /var/lib/apt/lists/* && \ apt-get clean; \
groupadd -r drone && \ rm -rf /var/lib/apt/lists/*; \
useradd --no-log-init -r -g drone drone groupadd -r bee --gid 999; \
useradd -r -g bee --uid 999 --no-log-init -m bee;
COPY --from=build /src/dist/bee /usr/local/bin/bee COPY --from=build /src/dist/bee /usr/local/bin/bee
USER drone EXPOSE 6060 7070 8080
USER bee
WORKDIR /home/bee
ENTRYPOINT ["bee"] ENTRYPOINT ["bee"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment