Skip to content

Commit

Permalink
user root user
Browse files Browse the repository at this point in the history
  • Loading branch information
delcroip authored Aug 29, 2024
1 parent 54db4f6 commit b3b2904
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ ENV DB_USER_PASSWORD=IMISuserP@s
ENV DB_NAME=IMIS
ENV DB_USER=IMISUser
ENV INIT_MODE=empty

RUN mkdir -p /home/mssql/app
COPY script/* /home/mssql/app/
COPY sql /home/mssql/app/sql
WORKDIR /home/mssql/app
USER root
RUN mkdir -p /app
COPY script/* /app/
COPY sql /app/sql
WORKDIR /app
RUN chmod a+x /app/*.sh
USER mssql
CMD /bin/bash ./entrypoint.sh

0 comments on commit b3b2904

Please sign in to comment.