Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zimmra committed Sep 4, 2023
1 parent 84de465 commit 8c55e1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,11 @@ RUN chmod +x /slic3r/get_latest_prusaslicer_release.sh \

# Create the script and make it executable
RUN echo '#!/bin/bash' > /usr/local/bin/prusa-slicer && \
echo 'exec gosu slic3r /slic3r/slic3r-dist/prusa-slicer --datadir /config/.config/PrusaSlicer/ "$@"' >> /usr/local/bin/prusa-slicer && \
echo 'sudo -u slic3r /slic3r/slic3r-dist/prusa-slicer --datadir /config/.config/PrusaSlicer/ "$@"' >> /usr/local/bin/prusa-slicer && \
chmod +x /usr/local/bin/prusa-slicer

# add local files
RUN if [ -f /defaults/menu.xml ]; then rm -rf /defaults/menu.xml; fi
COPY /root /

# ports and volumes
Expand Down

0 comments on commit 8c55e1e

Please sign in to comment.