mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 07:10:53 +00:00
d26b348f0d
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE317-OPENSSL-3314647 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-3326683 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5741793 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5843454 - https://snyk.io/vuln/SNYK-UPSTREAM-NODE-5848038
22 lines
397 B
Smarty
22 lines
397 B
Smarty
FROM node:18.18.1-alpine
|
|
USER root
|
|
RUN mkdir /tmp/npm && chmod 2777 /tmp/npm && chown 1000:1000 /tmp/npm && npm config set cache /tmp/npm --global
|
|
|
|
# Install bash.
|
|
RUN apk add bash && apk add curl
|
|
|
|
|
|
ARG GIT_SHA
|
|
ARG APP_VERSION
|
|
|
|
ENV GIT_SHA=${GIT_SHA}
|
|
ENV APP_VERSION=${APP_VERSION}
|
|
|
|
RUN npm -g config set user root
|
|
RUN apk add bash
|
|
|
|
COPY ./Tests .
|
|
|
|
RUN chmod -R +x Scripts
|
|
|
|
CMD ["bash start.sh"] |