mirror of
https://github.com/docusealco/docuseal.git
synced 2026-06-23 04:10:11 +00:00
optimize dockerfile
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
/db/*.sqlite3
|
/db/*.sqlite3
|
||||||
|
|
||||||
|
**/node_modules
|
||||||
/node_modules
|
/node_modules
|
||||||
/coverage
|
/coverage
|
||||||
/doc
|
/doc
|
||||||
|
|||||||
+9
-1
@@ -37,7 +37,15 @@ COPY ./Gemfile ./Gemfile.lock ./
|
|||||||
|
|
||||||
RUN bundle update --bundler && bundle install && rm -rf ~/.bundle
|
RUN bundle update --bundler && bundle install && rm -rf ~/.bundle
|
||||||
|
|
||||||
COPY . ./
|
COPY ./bin ./bin
|
||||||
|
COPY ./app ./app
|
||||||
|
COPY ./config ./config
|
||||||
|
COPY ./db ./db
|
||||||
|
COPY ./log ./log
|
||||||
|
COPY ./lib ./lib
|
||||||
|
COPY ./public ./public
|
||||||
|
COPY ./tmp ./tmp
|
||||||
|
COPY LICENSE README.md Rakefile config.ru ./
|
||||||
|
|
||||||
COPY --from=webpack /app/public/packs ./public/packs
|
COPY --from=webpack /app/public/packs ./public/packs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user