From 164af295bbb00b7441137f72239d266ea663c473 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 9 Aug 2023 01:44:35 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5821142 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7221ed2..437caefd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #Building Scraper -FROM alpine:latest AS tiktok_scraper.build +FROM alpine:3.18.3 AS tiktok_scraper.build WORKDIR /usr/app @@ -15,7 +15,7 @@ RUN rm -rf src node_modules #Using Scraper -FROM alpine:latest AS tiktok_scraper.use +FROM alpine:3.18.3 AS tiktok_scraper.use WORKDIR /usr/app