Spaces:
Running
Running
$TMPDIR
Browse files- 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
|
|
|
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 |
|