File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 11FROM node:16-bullseye-slim AS builder
22
3+ ARG cache_offloader_version=0.1.5
4+
35RUN apt update && apt install -y git wget \
46 && git clone https://github.com/vercel/commerce.git \
57 && cd commerce \
68 && npm install --save-prod \
79 && NODE_ENV="production" npm run build \
8- && wget https://github.com/neurocode-io/cache-offloader/releases/download/v0.1.4 /cache-offloader_0.1.4_linux_amd64 .tar.gz \
9- && tar -xvf cache-offloader_0.1.4_linux_amd64 .tar.gz
10+ && wget https://github.com/neurocode-io/cache-offloader/releases/download/v${cache_offloader_version} /cache-offloader_${cache_offloader_version}_linux_amd64 .tar.gz \
11+ && tar -xvf cache-offloader_${cache_offloader_version}_linux_amd64 .tar.gz
1012
1113
1214FROM node:16-bullseye-slim
@@ -38,4 +40,4 @@ RUN chown -R node:node /app
3840USER node
3941EXPOSE 8000
4042
41- ENTRYPOINT [ "./entrypoint.sh ]
43+ ENTRYPOINT [ "./entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments