Skip to content

Commit b3b2904

Browse files
authored
user root user
1 parent 54db4f6 commit b3b2904

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ ENV DB_USER_PASSWORD=IMISuserP@s
77
ENV DB_NAME=IMIS
88
ENV DB_USER=IMISUser
99
ENV INIT_MODE=empty
10-
11-
RUN mkdir -p /home/mssql/app
12-
COPY script/* /home/mssql/app/
13-
COPY sql /home/mssql/app/sql
14-
WORKDIR /home/mssql/app
10+
USER root
11+
RUN mkdir -p /app
12+
COPY script/* /app/
13+
COPY sql /app/sql
14+
WORKDIR /app
1515
RUN chmod a+x /app/*.sh
16+
USER mssql
1617
CMD /bin/bash ./entrypoint.sh

0 commit comments

Comments
 (0)