mirror of
https://github.com/vx3r/wg-gen-web.git
synced 2024-12-18 00:13:23 +00:00
commit
ad85ef7442
@ -6,7 +6,7 @@ ARG COMMIT
|
|||||||
COPY . .
|
COPY . .
|
||||||
RUN go build -o wg-gen-web-linux -ldflags="-X 'github.com/vx3r/wg-gen-web/version.Version=${COMMIT}'" github.com/vx3r/wg-gen-web/cmd/wg-gen-web
|
RUN go build -o wg-gen-web-linux -ldflags="-X 'github.com/vx3r/wg-gen-web/version.Version=${COMMIT}'" github.com/vx3r/wg-gen-web/cmd/wg-gen-web
|
||||||
|
|
||||||
FROM node:16-alpine AS build-front
|
FROM node:18.13.0-alpine AS build-front
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY ui/package*.json ./
|
COPY ui/package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
7099
ui/package-lock.json
generated
7099
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,5 @@
|
|||||||
|
const webpack = require("webpack");
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
devServer: {
|
devServer: {
|
||||||
port: 8081,
|
port: 8081,
|
||||||
@ -8,5 +10,12 @@ module.exports = {
|
|||||||
],
|
],
|
||||||
pwa: {
|
pwa: {
|
||||||
name: 'Wg Gen Web',
|
name: 'Wg Gen Web',
|
||||||
|
},
|
||||||
|
configureWebpack: {
|
||||||
|
plugins: [
|
||||||
|
new webpack.ProvidePlugin({
|
||||||
|
Buffer: ["buffer", "Buffer"],
|
||||||
|
}),
|
||||||
|
],
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user