mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
Update alpine dockerfile
Since I don't know how to generate the config file without launching the server, this should do. Since it's only a build process, shouldn't matter too much.
This commit is contained in:
parent
2ac0eaa57a
commit
441697ef2c
@ -8,7 +8,7 @@ RUN mkdir -p /build/release/data/config && \
|
||||
mkdir -p /build/release/data/db && \
|
||||
mkdir -p /build/release/data/image && \
|
||||
mkdir -p /build/release/data/TEMP && \
|
||||
cd /build/release && node backend/server.js && \
|
||||
cd /build/release && node src/backend/server.js || true && \
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user