We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec64f4 commit 7f4c580Copy full SHA for 7f4c580
Dockerfile
@@ -5,12 +5,13 @@ ARG TAR_URL_ARM64
5
RUN apt-get update && apt-get install -y curl tar
6
RUN TAR_URL=$(if [ "${TARGETPLATFORM}" = "linux/arm64" ]; then echo ${TAR_URL_ARM64}; else echo ${TAR_URL_AMD64}; fi) \
7
&& curl -fsSL $TAR_URL -o /tmp/package.tar.gz \
8
+ && mkdir -p /app \
9
&& tar -xzf /tmp/package.tar.gz -C /app \
10
&& chmod +x /app/liwan
11
12
FROM scratch
13
-ENV LIWAN_CONFIG=/app/liwan.config.toml
14
+ENV LIWAN_CONFIG=/liwan.config.toml
15
ENV LIWAN_DATA_DIR=/data
16
17
COPY --from=downloader /app/liwan /liwan
0 commit comments