mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-25 19:54:06 +03:00
Security fixes
Patched some security holes with GetUser and UpdateUser, did some minor cleanup
This commit is contained in:
parent
df10417668
commit
4b5057e658
7 changed files with 40 additions and 28 deletions
|
@ -10,7 +10,6 @@ ARG BUILD_DEPENDENCIES="npm \
|
|||
|
||||
# Get dependencies
|
||||
RUN apk add --update --no-cache ${BUILD_DEPENDENCIES}
|
||||
#RUN apt install ${BUILD_DEPENDENCIES}
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
@ -21,7 +20,8 @@ COPY package.json /build
|
|||
COPY yarn.lock /build
|
||||
|
||||
# Prepare assets
|
||||
RUN yarn install --pure-lockfile --production && yarn cache clean
|
||||
RUN yarn install --pure-lockfile --production && \
|
||||
yarn cache clean
|
||||
|
||||
# Move admin-lte dist
|
||||
RUN mkdir -p assets/dist/js assets/dist/css && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue