mirror of
https://github.com/logos-storage/logos-storage-contracts-eth.git
synced 2026-01-06 23:33:12 +00:00
chore: Bump Node version (#66)
This commit is contained in:
parent
ac38d7f837
commit
49da1f9b30
@ -1,5 +1,5 @@
|
|||||||
# Variables
|
# Variables
|
||||||
ARG BUILDER=node:18.15.0-slim
|
ARG BUILDER=node:18.17.0-slim
|
||||||
ARG IMAGE=${BUILDER}
|
ARG IMAGE=${BUILDER}
|
||||||
ARG APP_USER=root
|
ARG APP_USER=root
|
||||||
ARG APP_HOME=/hardhat
|
ARG APP_HOME=/hardhat
|
||||||
@ -14,7 +14,7 @@ ARG APP_HOME
|
|||||||
# Install fail on arm64 without additional packages
|
# Install fail on arm64 without additional packages
|
||||||
RUN if [ $(uname -m) = "aarch64" ] ; then \
|
RUN if [ $(uname -m) = "aarch64" ] ; then \
|
||||||
if [ $(awk -F '=' '/^ID/ {print $2}' /etc/os-release) = "alpine" ] ; then \
|
if [ $(awk -F '=' '/^ID/ {print $2}' /etc/os-release) = "alpine" ] ; then \
|
||||||
apk add --update --no-cache python3 python3 make g++ ; \
|
apk add --update --no-cache python3 make g++ ; \
|
||||||
else \
|
else \
|
||||||
apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/* ; \
|
apt-get update && apt-get install -y python3 make g++ && rm -rf /var/lib/apt/lists/* ; \
|
||||||
fi \
|
fi \
|
||||||
@ -38,4 +38,3 @@ COPY --chown=${APP_USER}:${APP_USER} --from=builder ${APP_HOME} .
|
|||||||
EXPOSE 8545
|
EXPOSE 8545
|
||||||
|
|
||||||
ENTRYPOINT ["npm", "start"]
|
ENTRYPOINT ["npm", "start"]
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user