Skip to content

Commit 76b9dcd

Browse files
committed
Fix libdraco version and user ownership
1 parent e0970b3 commit 76b9dcd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV PYTHONUNBUFFERED=1
1111

1212
RUN apt update && \
1313
apt install -y git \
14-
blender draco libdraco7 python3-numpy --no-install-recommends \
14+
blender draco libdraco8 python3-numpy --no-install-recommends \
1515
&& rm -rf /var/lib/apt/lists/*
1616

1717
WORKDIR /app
@@ -37,14 +37,14 @@ RUN --mount=type=cache,target=/root/.cache/pip \
3737
mkdir src \
3838
&& python -m pip install . --no-cache-dir
3939

40-
USER appuser
4140
# Copy the rest of the application
4241
COPY . .
4342

4443
# Install the application itself
4544
RUN pip install --no-cache-dir --no-deps . \
4645
&& rm -rf .git
4746

47+
USER appuser
4848
# Switch to the non-privileged user to run the application.
4949

5050
CMD ["floorplan" ,"generate", "-i", "/usr/src/app/models/", "-o", "/usr/src/app/output/", "mesh", "tasks", "gazebo", "occ-grid", "polyline", "door-keyframes"]

0 commit comments

Comments
 (0)