Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM --platform=linux/x86_64 eclipse-temurin:11.0.20.1_1-jdk-focal
RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y unzip curl \
&& adduser --uid 1001 --home /home/sunbird/ --disabled-login sunbird \
&& mkdir -p /home/sunbird \
&& chown -R sunbird:sunbird /home/sunbird
&& chown -R sunbird:sunbird /home/sunbird \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN chown -R sunbird:sunbird /home/sunbird
USER sunbird
COPY ./target/sunbird-dial-service-1.0-SNAPSHOT-dist.zip /home/sunbird/
Expand Down