Use node 18 in Dockerfile

This commit is contained in:
Thomas Miceli 2023-04-07 10:32:03 +02:00
parent eeebc7c789
commit db36ec6002
No known key found for this signature in database
GPG key ID: D86C6F6390AF050F

View file

@ -20,7 +20,7 @@ COPY --from=golang:1.19-alpine /usr/local/go/ /usr/local/go/
ENV PATH="/usr/local/go/bin:${PATH}" ENV PATH="/usr/local/go/bin:${PATH}"
# Install Node.js # Install Node.js
COPY --from=node:16-alpine /usr/local/ /usr/local/ COPY --from=node:18-alpine /usr/local/ /usr/local/
ENV NODE_PATH="/usr/local/lib/node_modules" ENV NODE_PATH="/usr/local/lib/node_modules"
ENV PATH="/usr/local/bin:${PATH}" ENV PATH="/usr/local/bin:${PATH}"