fil commited on
Commit
b6bdfe1
·
verified ·
1 Parent(s): e6e3133
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -5,7 +5,8 @@ RUN useradd -o -u 1000 user
5
  USER user
6
 
7
  ENV HOME=/home/user \
8
- PATH=/home/user/.local/bin:$PATH
 
9
 
10
  WORKDIR $HOME/app
11
 
@@ -17,7 +18,8 @@ RUN wget --quiet https://github.com/duckdb/duckdb/releases/download/v0.9.2/duckd
17
  unzip duckdb_cli-linux-aarch64.zip && chmod +x duckdb && mv duckdb /usr/local/bin
18
 
19
  USER user
20
- RUN yarn install && yarn build
 
21
 
22
  # COPY --chown=user ./dist $HOME/app
23
 
 
5
  USER user
6
 
7
  ENV HOME=/home/user \
8
+ PATH=/home/user/.local/bin:$PATH \
9
+ TMPDIR=$HOME/tmp
10
 
11
  WORKDIR $HOME/app
12
 
 
18
  unzip duckdb_cli-linux-aarch64.zip && chmod +x duckdb && mv duckdb /usr/local/bin
19
 
20
  USER user
21
+ RUN mkdir $TMPDIR
22
+ RUN yarn && yarn build
23
 
24
  # COPY --chown=user ./dist $HOME/app
25