added 'yarn postbuild' script for fixing env.js in dist/index.html
ref #31
This commit is contained in:
1 parent
ad13bae068
commit
51d058bf96
3 files changed
+9
-1
No files matched your search
@@ -3,6 +3,7 @@ WORKDIR /app
|
||||
COPY . .
|
||||
RUN yarn
|
||||
RUN yarn build
|
||||
RUN yarn postbuild
|
||||
# final image
|
||||
FROM fholzer/nginx-brotli:v1.19.1
|
||||
COPY --from=0 /app/dist /usr/share/nginx/html
|
||||
|
||||
Reference in new issue
Block a user