Files
print-calculator/backend/Dockerfile.dev
Joe Küng 928635ed39
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 23s
Build, Test and Deploy / build-and-push (push) Successful in 27s
Build, Test and Deploy / deploy (push) Successful in 5s
fix(back-end): update profile inheritance
2026-02-05 16:59:51 +01:00

28 lines
774 B
Docker

FROM eclipse-temurin:21-jdk-jammy
# Install system dependencies for OrcaSlicer
RUN apt-get update && apt-get install -y \
wget \
p7zip-full \
libgl1 \
libglib2.0-0 \
libgtk-3-0 \
libdbus-1-3 \
libwebkit2gtk-4.0-37 \
&& rm -rf /var/lib/apt/lists/*
# Install OrcaSlicer
WORKDIR /opt
RUN wget -q https://github.com/SoftFever/OrcaSlicer/releases/download/v2.2.0/OrcaSlicer_Linux_V2.2.0.AppImage -O OrcaSlicer.AppImage \
&& 7z x OrcaSlicer.AppImage -o/opt/orcaslicer \
&& chmod -R +x /opt/orcaslicer \
&& rm OrcaSlicer.AppImage
ENV PATH="/opt/orcaslicer/usr/bin:${PATH}"
ENV SLICER_PATH="/opt/orcaslicer/AppRun"
WORKDIR /app
# The command will be overridden by docker-compose, but default is sensible
CMD ["./gradlew", "bootRun"]