mirror of
https://github.com/zoriya/flood.git
synced 2025-12-06 07:16:18 +00:00
* Update Dockerfile * Update Dockerfile * Update Dockerfile
This commit is contained in:
committed by
John Furrow
parent
91ffaaf89e
commit
52805c0525
@@ -11,6 +11,8 @@ COPY package.json \
|
||||
package-lock.json \
|
||||
.babelrc \
|
||||
.eslintrc.js \
|
||||
.eslintignore \
|
||||
.prettierrc \
|
||||
ABOUT.md \
|
||||
$WORKDIR
|
||||
RUN apk add --no-cache --virtual=build-dependencies \
|
||||
@@ -22,6 +24,7 @@ RUN apk add --no-cache --virtual=build-dependencies \
|
||||
COPY client ./client
|
||||
COPY server ./server
|
||||
COPY shared ./shared
|
||||
COPY scripts ./scripts
|
||||
COPY config.docker.js ./config.js
|
||||
RUN npm run build && \
|
||||
npm prune --production
|
||||
|
||||
Reference in New Issue
Block a user