1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

fixing docker build error

This commit is contained in:
Patrik J. Braun 2019-12-08 12:44:18 +01:00
parent 66b0b1afa8
commit 09b626980e
5 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,7 @@ FROM node:alpine
RUN apk add python build-base RUN apk add python build-base
COPY . /build COPY . /build
WORKDIR /build WORKDIR /build
RUN set -x && npm install --unsafe-perm && npm run build-release && \ RUN set -x && npm install --unsafe-perm && npm run create-release && \
cd /build/release && npm install --unsafe-perm cd /build/release && npm install --unsafe-perm
RUN mkdir -p /build/release/data/config && \ RUN mkdir -p /build/release/data/config && \
mkdir -p /build/release/data/db && \ mkdir -p /build/release/data/db && \

View File

@ -5,7 +5,7 @@ LABEL maintainer="Patrik J. Braun"
RUN git clone https://github.com/bpatrik/pigallery2.git && \ RUN git clone https://github.com/bpatrik/pigallery2.git && \
cd /pigallery2 && \ cd /pigallery2 && \
npm install --unsafe-perm && \ npm install --unsafe-perm && \
npm run build-release && \ npm run create-release && \
cp -r /pigallery2/release /pigallery2-release && \ cp -r /pigallery2/release /pigallery2-release && \
rm /pigallery2 -R && \ rm /pigallery2 -R && \
cd /pigallery2-release && \ cd /pigallery2-release && \

View File

@ -5,7 +5,7 @@ LABEL maintainer="Patrik J. Braun"
RUN git clone https://github.com/bpatrik/pigallery2.git && \ RUN git clone https://github.com/bpatrik/pigallery2.git && \
cd /pigallery2 && \ cd /pigallery2 && \
npm install --unsafe-perm && \ npm install --unsafe-perm && \
npm run build-release && \ npm run create-release && \
cp -r /pigallery2/release /pigallery2-release && \ cp -r /pigallery2/release /pigallery2-release && \
rm /pigallery2 -R && \ rm /pigallery2 -R && \
cd /pigallery2-release && \ cd /pigallery2-release && \

View File

@ -862,7 +862,7 @@
<context context-type="sourcefile">app/ui/settings/thumbnail/thumbanil.settings.component.html</context> <context context-type="sourcefile">app/ui/settings/thumbnail/thumbanil.settings.component.html</context>
<context context-type="linenumber">24</context> <context context-type="linenumber">24</context>
</context-group> </context-group>
<target>Győződjön meg arról, hogy az éles csomópont modul telepítve van (npm telepítés éles).</target> <target>Győződjön meg arról, hogy a sharp node modul telepítve van (npm telepítés éles).</target>
</trans-unit> </trans-unit>
<trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html"> <trans-unit id="becf05481d292e5e206fda4b7d67d8fac4e85c93" datatype="html">
<source>Make sure that gm node module and</source> <source>Make sure that gm node module and</source>
@ -1198,7 +1198,7 @@
<context context-type="sourcefile">app/ui/settings/basic/basic.settings.component.html</context> <context context-type="sourcefile">app/ui/settings/basic/basic.settings.component.html</context>
<context context-type="linenumber">78</context> <context context-type="linenumber">78</context>
</context-group> </context-group>
<target>Ha a galériát egy al-url alatt érheti el (például: http://mydomain.com/myGallery), állítsa be itt. Ha nem működik, akkor hiányozhat a "/" a kezdetétől url.</target> <target>Ha a galériát egy al-url alatt érheti el (például: http://mydomain.com/myGallery), állítsa be itt. Ha nem működik, akkor hiányozhat a "/" az url elejéről.</target>
</trans-unit> </trans-unit>
<trans-unit id="f268a48c3f70d641ccb99786fe49f21a769eb2bb" datatype="html"> <trans-unit id="f268a48c3f70d641ccb99786fe49f21a769eb2bb" datatype="html">
<source> <source>

View File

@ -10,7 +10,7 @@
"scripts": { "scripts": {
"install": "npm run build-prod", "install": "npm run build-prod",
"build-prod": "tsc && gulp build-prod", "build-prod": "tsc && gulp build-prod",
"create-release": "gulp build-release", "create-release": "gulp create-release",
"build-backend": "tsc", "build-backend": "tsc",
"pretest": "tsc", "pretest": "tsc",
"test": "ng test && mocha --recursive test/backend/unit && mocha --recursive test/backend/integration && mocha --recursive test/common/unit ", "test": "ng test && mocha --recursive test/backend/unit && mocha --recursive test/backend/integration && mocha --recursive test/common/unit ",