Compare commits
4 Commits
dependabot
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
407faecc7b | ||
|
|
8f26dea2b4 | ||
|
|
cafd0c3b17 | ||
|
|
20d9586ea9 |
@@ -1,10 +1,9 @@
|
||||
FROM mhart/alpine-node:10
|
||||
FROM webratio/nodejs-http-server
|
||||
|
||||
VOLUME /tmp
|
||||
RUN npm install -g spa-http-server
|
||||
ADD dist /opt/www
|
||||
ADD run.sh /opt/run.sh
|
||||
ARG VUE_APP_API_HOST
|
||||
ENV VUE_APP_API_HOST=$VUE_APP_API_HOST
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["sh","/opt/run.sh" ]
|
||||
ENTRYPOINT ["sh","/opt/run.sh" ]
|
||||
|
||||
9
vue.config.js
Normal file
9
vue.config.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
configureWebpack: {
|
||||
devServer: {
|
||||
port: '8080',
|
||||
disableHostCheck: true
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
16
webpack.config.js
Normal file
16
webpack.config.js
Normal file
@@ -0,0 +1,16 @@
|
||||
module.exports = {
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
||||
test: /\.css$/,
|
||||
use: [ 'style-loader', 'css-loader', 'cssimportant-loader' ]
|
||||
}
|
||||
]
|
||||
},
|
||||
devServer: {
|
||||
host: 'es2cd.io',
|
||||
port: 8080,
|
||||
disableHostCheck : true,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user