Skip to content

Commit

Permalink
Merge pull request #16 from marc0tjevp/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0tjevp committed Sep 23, 2020
2 parents d69976c + 8683d0a commit 641ae6f
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 12 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
@@ -1,6 +1,6 @@
FROM mhart/alpine-node:12
FROM mhart/alpine-node:latest

RUN apk add --update nginx npm
RUN apk add --update nginx nodejs yarn

RUN mkdir -p /tmp/nginx/portfolio
RUN mkdir -p /var/log/nginx
Expand All @@ -11,9 +11,9 @@ COPY nginx_config/default.conf /etc/nginx/conf.d/default.conf

WORKDIR /tmp/nginx/portfolio
COPY . .
RUN npm install
RUN yarn install

RUN npm run build
RUN yarn build
RUN cp -r dist/* /var/www/html
RUN chown nginx:nginx /var/www/html

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -45,6 +45,7 @@
"node-sass": "^4.12.0",
"prettier": "^1.18.2",
"sass-loader": "^8.0.0",
"simple-progress-webpack-plugin": "^1.1.2",
"typescript": "~3.5.3",
"vue-template-compiler": "^2.6.10"
},
Expand Down
12 changes: 12 additions & 0 deletions vue.config.js
@@ -0,0 +1,12 @@
module.exports = {
chainWebpack: config => {
config.plugins.delete("progress");
config
.plugin("simple-progress-webpack-plugin")
.use(require.resolve("simple-progress-webpack-plugin"), [
{
format: "compact"
}
]);
}
};
34 changes: 26 additions & 8 deletions yarn.lock
Expand Up @@ -2519,6 +2519,15 @@ caseless@~0.12.0:
resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc"
integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=

chalk@2.3.x:
version "2.3.2"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.2.tgz#250dc96b07491bfd601e648d66ddf5f60c7a5c65"
integrity sha512-ZM4j2/ld/YZDc3Ma8PgN7gyAk+kHMMMyzLNryCPGhWrsfAuDVeuid5bpRFTDgMH9JBK2lA4dyyAkkZYF/WcqDQ==
dependencies:
ansi-styles "^3.2.1"
escape-string-regexp "^1.0.5"
supports-color "^5.3.0"

chalk@^1.0.0, chalk@^1.1.1, chalk@^1.1.3:
version "1.1.3"
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
Expand Down Expand Up @@ -4219,6 +4228,13 @@ figgy-pudding@^3.5.1:
resolved "https://registry.yarnpkg.com/figgy-pudding/-/figgy-pudding-3.5.2.tgz#b4eee8148abb01dcf1d1ac34367d59e12fa61d6e"
integrity sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==

figures@2.0.x, figures@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=
dependencies:
escape-string-regexp "^1.0.5"

figures@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-1.7.0.tgz#cbe1e3affcf1cd44b80cadfed28dc793a9701d2e"
Expand All @@ -4227,13 +4243,6 @@ figures@^1.7.0:
escape-string-regexp "^1.0.5"
object-assign "^4.1.0"

figures@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962"
integrity sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=
dependencies:
escape-string-regexp "^1.0.5"

figures@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af"
Expand Down Expand Up @@ -6062,7 +6071,7 @@ log-symbols@^3.0.0:
dependencies:
chalk "^2.4.2"

log-update@^2.3.0:
log-update@2.3.x, log-update@^2.3.0:
version "2.3.0"
resolved "https://registry.yarnpkg.com/log-update/-/log-update-2.3.0.tgz#88328fd7d1ce7938b29283746f0b1bc126b24708"
integrity sha1-iDKP19HOeTiykoN0bwsbwSayRwg=
Expand Down Expand Up @@ -8428,6 +8437,15 @@ signal-exit@^3.0.0, signal-exit@^3.0.2:
resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.3.tgz#a1410c2edd8f077b08b4e253c8eacfcaf057461c"
integrity sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==

simple-progress-webpack-plugin@^1.1.2:
version "1.1.2"
resolved "https://registry.yarnpkg.com/simple-progress-webpack-plugin/-/simple-progress-webpack-plugin-1.1.2.tgz#eb366f6abd2e1f68cb8512762bbfcf3bce057d4b"
integrity sha512-bNQfb3qSqbtsfxg6d0dGechUUJH2lZqKG5+bj2aoJmEA0rSzcm+2JVfC2YgkDABfuGItZ/O5ttt6BssWZW4SNg==
dependencies:
chalk "2.3.x"
figures "2.0.x"
log-update "2.3.x"

simple-swizzle@^0.2.2:
version "0.2.2"
resolved "https://registry.yarnpkg.com/simple-swizzle/-/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
Expand Down

0 comments on commit 641ae6f

Please sign in to comment.