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:
parent
d07ee3a6f1
commit
e5cc71cd36
@ -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
8
.gitignore
vendored
@ -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
|
||||||
|
@ -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 && \
|
||||||
|
@ -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 && \
|
||||||
|
Loading…
Reference in New Issue
Block a user