Compare commits

...

4 Commits

Author SHA1 Message Date
acmexii
407faecc7b Update Dockerfile 2021-09-16 15:58:50 +09:00
Jinyoung Jang
8f26dea2b4 Update vue.config.js 2020-11-01 22:59:33 +09:00
Jinyoung Jang
cafd0c3b17 Add files via upload 2020-11-01 22:59:03 +09:00
Jinyoung Jang
20d9586ea9 Add files via upload 2020-11-01 22:58:02 +09:00
3 changed files with 27 additions and 3 deletions

View File

@@ -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
View File

@@ -0,0 +1,9 @@
module.exports = {
configureWebpack: {
devServer: {
port: '8080',
disableHostCheck: true
}
},
}

16
webpack.config.js Normal file
View 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,
},
}