build(docker/frontend): remove debris

This commit is contained in:
Sarah Vaupel 2025-01-17 17:48:36 +01:00
parent adf53f07bc
commit ba8d39a7c5

View File

@ -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"