Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
@@ -8,10 +8,11 @@ RUN apk add --no-cache git \
|
|
8 |
&& git clone https://github.com/aigem/hf-nocodb.git /tmp/hf-nocodb \
|
9 |
&& cp /tmp/hf-nocodb/src/* /tmp/ \
|
10 |
&& cp /tmp/startup.sh /usr/src/appEntry/startup.sh \
|
11 |
-
&& chmod +x /usr/src/appEntry/startup.sh && rm -rf /tmp/hf-nocodb
|
12 |
-
|
13 |
-
|
14 |
-
|
|
|
15 |
|
16 |
USER nocodb
|
17 |
|
|
|
8 |
&& git clone https://github.com/aigem/hf-nocodb.git /tmp/hf-nocodb \
|
9 |
&& cp /tmp/hf-nocodb/src/* /tmp/ \
|
10 |
&& cp /tmp/startup.sh /usr/src/appEntry/startup.sh \
|
11 |
+
&& chmod +x /usr/src/appEntry/startup.sh && rm -rf /tmp/hf-nocodb
|
12 |
+
|
13 |
+
RUN --mount=type=secret,id=NC_S3_BUCKET_NAME,mode=0444,required=true \
|
14 |
+
--mount=type=secret,id=NC_S3_ACCESS_SECRET,mode=0444,required=true \
|
15 |
+
/tmp/setup.sh && /tmp/s3_setup.sh && rm /tmp/setup.sh /tmp/s3_setup.sh
|
16 |
|
17 |
USER nocodb
|
18 |
|