Skip to content

Commit

Permalink
build(docker): remove htmltidy2 win64 binaries (#1417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Apr 12, 2023
1 parent 93a3bae commit 6dbd911
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN npm ci --ignore-scripts --omit=dev && \
# Remove included Windows and macOS binaries
rm -rf ./node_modules/node-poppler/src/lib/* && \
rm -rf ./node_modules/node-unrtf/src/lib/* && \
rm -rf ./node_modules/htmltidy2/bin/win32 && \
rm -rf ./node_modules/htmltidy2/bin/win64 && \
rm -rf ./node_modules/htmltidy2/bin/darwin

# Copy source
Expand All @@ -34,4 +34,4 @@ COPY . .
# Node images provide 'node' unprivileged user to run apps and prevent
# privilege escalation attacks
USER node
CMD ["node", "."]
CMD ["node", "."]

0 comments on commit 6dbd911

Please sign in to comment.