Skip to content

Commit

Permalink
Merge pull request #4 from pedrobslisboa/docs/analize-to-deploy
Browse files Browse the repository at this point in the history
Deploy analize with the app
  • Loading branch information
pedrobslisboa authored Apr 17, 2024
2 parents aba45e9 + 8caa27c commit 3acc875
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 41 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ RUN opam switch create . 5.1.1 --deps-only --with-test -y
RUN eval $(opam env) && \
opam exec -- dune build --profile=prod @all

RUN yarn webpack --env production
RUN yarn webpack --env production --env analize

# Expor a porta do servidor
EXPOSE 8000
Expand Down
39 changes: 0 additions & 39 deletions docs/analize.html

This file was deleted.

2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = (env) => ({
plugins: [
(env.analize) ? new BundleAnalyzerPlugin({
analyzerMode: 'static',
reportFilename: '../docs/analize.html',
reportFilename: 'analize.html',
}) : null,
new HtmlWebpackPlugin({
filename: "index.html",
Expand Down

0 comments on commit 3acc875

Please sign in to comment.