mirror of
https://github.com/xuthus83/pigallery2.git
synced 2025-01-14 14:43:17 +08:00
Update Dockerfile
This commit is contained in:
parent
9d2f139d3a
commit
268043fe5d
@ -8,7 +8,7 @@ RUN mkdir -p /build/release/data/config && \
|
|||||||
mkdir -p /build/release/data/db && \
|
mkdir -p /build/release/data/db && \
|
||||||
mkdir -p /build/release/data/image && \
|
mkdir -p /build/release/data/image && \
|
||||||
mkdir -p /build/release/data/TEMP && \
|
mkdir -p /build/release/data/TEMP && \
|
||||||
cd /build/release && node src/backend/server.js || true && \
|
cd /build/release && npm start -- --config-only || true && \
|
||||||
sed -i 's/demo/data/g' config.json && sed -i 's@sqlite\.db@data/db/sqlite\.db@' config.json && \
|
sed -i 's/demo/data/g' config.json && sed -i 's@sqlite\.db@data/db/sqlite\.db@' config.json && \
|
||||||
mv /build/release/config.json /build/release/data/config/config.json
|
mv /build/release/config.json /build/release/data/config/config.json
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user