Security fixes

Patched some security holes with GetUser and UpdateUser, did some minor cleanup
This commit is contained in:
armisss4 2022-12-29 12:54:31 +02:00 committed by GitHub
parent df10417668
commit 4b5057e658
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 28 deletions

View file

@ -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 && \