mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
fix docker files
This commit is contained in:
parent
2eb64aef6e
commit
195cd4aab4
@ -54,9 +54,6 @@ RUN mkdir /usr/src/app
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install trivy for container scanning
|
||||
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
|
||||
|
||||
# Install app dependencies
|
||||
COPY ./Alert/package*.json /usr/src/app/
|
||||
RUN npm install
|
||||
|
4037
CommonServer/package-lock.json
generated
4037
CommonServer/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -52,9 +52,6 @@ COPY ./CommonServer /usr/src/CommonServer
|
||||
RUN mkdir /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install trivy for container scanning
|
||||
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
|
||||
|
||||
# Install kubectl for kubernetes monitor scanning
|
||||
RUN OS_ARCHITECTURE="amd64"
|
||||
RUN if [[ "$(uname -m)" -eq "aarch64" ]] ; then OS_ARCHITECTURE="arm64" ; fi
|
||||
|
@ -53,9 +53,6 @@ RUN mkdir /usr/src/app
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Install trivy for container scanning
|
||||
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
|
||||
|
||||
# Install app dependencies
|
||||
COPY ./Workflow/package*.json /usr/src/app/
|
||||
RUN npm install
|
||||
|
1230
Workflow/package-lock.json
generated
1230
Workflow/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user