Skip to content

Commit

Permalink
do not add all the dev-based configurations to production image
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Rovnanik committed Feb 3, 2025
1 parent 7c9653c commit ca0aa53
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/simple/Dockerfile-from-war
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ WORKDIR /opt/moqui
COPY moqui-plus-runtime.war /tmp/moqui/.
RUN unzip /tmp/moqui/moqui-plus-runtime.war -d /opt/moqui

# remove all configurations from /opt/runtime/conf
RUN rm -rf /opt/moqui/runtime/conf && mkdir /opt/moqui/runtime/conf
RUN ls -las /opt/moqui/runtime/conf

# Copy scripts and make them executable in the build stage
ADD docker/simple/*.sh /opt/.
RUN dos2unix /opt/*.sh && chmod +x /opt/*.sh
Expand Down

0 comments on commit ca0aa53

Please sign in to comment.