Newer
Older
file: panter-kubernetes-base.yml
- template: Security/SAST.gitlab-ci.yml
sast:
stage: test-and-build
variables:
SAST_DISABLE_BABEL: "true"
.ensureDocker: &ensureDocker |
function ensureDockerfile() {
if [ ! -f Dockerfile ]; then
echo "Creating Dockerfile"
cat > Dockerfile <<EOF
ADD . /app
WORKDIR /app
RUN yarn --production
EXPOSE 8080