Skip to content

Commit 7f4c580

Browse files
build: fix dockerfile
Signed-off-by: Henry Gressmann <[email protected]>
1 parent fec64f4 commit 7f4c580

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ ARG TAR_URL_ARM64
55
RUN apt-get update && apt-get install -y curl tar
66
RUN TAR_URL=$(if [ "${TARGETPLATFORM}" = "linux/arm64" ]; then echo ${TAR_URL_ARM64}; else echo ${TAR_URL_AMD64}; fi) \
77
&& curl -fsSL $TAR_URL -o /tmp/package.tar.gz \
8+
&& mkdir -p /app \
89
&& tar -xzf /tmp/package.tar.gz -C /app \
910
&& chmod +x /app/liwan
1011

1112
FROM scratch
1213

13-
ENV LIWAN_CONFIG=/app/liwan.config.toml
14+
ENV LIWAN_CONFIG=/liwan.config.toml
1415
ENV LIWAN_DATA_DIR=/data
1516

1617
COPY --from=downloader /app/liwan /liwan

0 commit comments

Comments
 (0)