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

fixing Dockerfile issue

This commit is contained in:
Patrik J. Braun 2019-12-14 12:05:26 +01:00
parent d07ee3a6f1
commit e5cc71cd36
4 changed files with 11 additions and 8 deletions

View File

@ -1,13 +1,20 @@
.github/ .github/
.idea/ .idea/
.git/
node_modules/ node_modules/
benchmark/ benchmark/
release/
demo/ demo/
dist/ dist/
PiGallery2.iml
docs/ docs/
out-tsc/ out-tsc/
test/ test/
docker/ docker/
src/**/*.js
src/**/*.js.map
gulpfile.js
gulpfile.js.map
.travis.yml .travis.yml
config.json config.json
karma.conf.js karma.conf.js

8
.gitignore vendored
View File

@ -2,13 +2,9 @@
PiGallery2.iml PiGallery2.iml
node_modules/ node_modules/
pigallery2.zip pigallery2.zip
src/frontend/**/*.js src/**/*.js
src/frontend/**/*.js.map src/**/*.js.map
src/frontend/dist src/frontend/dist
src/backend/**/*.js
src/backend/**/*.js.map
src/common/**/*.js
src/common/**/*.js.map
test/coverage test/coverage
test/backend/**/*.js test/backend/**/*.js
test/backend/**/*.js.map test/backend/**/*.js.map

View File

@ -5,7 +5,7 @@ COPY package*.json /build/
WORKDIR /build WORKDIR /build
RUN set -x && npm install --unsafe-perm RUN set -x && npm install --unsafe-perm
# build app # build app
COPY stretch /build COPY . /build
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 && \
mkdir -p /build/release/data/images && \ mkdir -p /build/release/data/images && \

View File

@ -11,7 +11,7 @@ COPY package*.json /build/
WORKDIR /build WORKDIR /build
RUN set -x && npm install --unsafe-perm RUN set -x && npm install --unsafe-perm
# build app # build app
COPY stretch /build COPY . /build
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 && \
mkdir -p /build/release/data/images && \ mkdir -p /build/release/data/images && \