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