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/
.idea/
.git/
node_modules/
benchmark/
release/
demo/
dist/
PiGallery2.iml
docs/
out-tsc/
test/
docker/
src/**/*.js
src/**/*.js.map
gulpfile.js
gulpfile.js.map
.travis.yml
config.json
karma.conf.js

8
.gitignore vendored
View File

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

View File

@ -5,7 +5,7 @@ COPY package*.json /build/
WORKDIR /build
RUN set -x && npm install --unsafe-perm
# build app
COPY stretch /build
COPY . /build
RUN mkdir -p /build/release/data/config && \
mkdir -p /build/release/data/db && \
mkdir -p /build/release/data/images && \

View File

@ -11,7 +11,7 @@ COPY package*.json /build/
WORKDIR /build
RUN set -x && npm install --unsafe-perm
# build app
COPY stretch /build
COPY . /build
RUN mkdir -p /build/release/data/config && \
mkdir -p /build/release/data/db && \
mkdir -p /build/release/data/images && \