From ba8d39a7c58d0228c9cb9c4d214809f3ab888cba Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Fri, 17 Jan 2025 17:48:36 +0100 Subject: [PATCH] build(docker/frontend): remove debris --- docker/frontend/Dockerfile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 6491bb14a..7dd01d3d1 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -5,22 +5,15 @@ FROM ${FROM_IMG}:${FROM_TAG} ENV LANG=de_DE.UTF-8 -# Basic dependencies -RUN apt-get -y update && apt-get -y install curl - -# Build and watch dependencies +# build and watch dependencies RUN apt-get -y update && apt-get -y install exiftool RUN apt-get -y update && apt-get -y install imagemagick -# Test dependencies +# test dependencies RUN apt-get -y update && apt-get -y install chromium ENV CHROME_BIN=chromium -# TODO: use dotenv for npm version? -# RUN npm install -g n -# RUN n 20.17.0 - -# configure npm to use given proxy if given +# configure npm to use given proxy if specified RUN if [ ! -z "${HTTP_PROXY}" ]; then npm config set proxy ${HTTP_PROXY}; fi RUN if [ ! -z "${FRAPORT_NOPROXY}" ]; then npm config set noproxy "${FRAPORT_NOPROXY}"; fi ENV NODE_EXTRA_CA_CERTS: "/etc/ssl/certs/ca-certificates.crt"