build(docker/frontend): remove debris
This commit is contained in:
parent
adf53f07bc
commit
ba8d39a7c5
@ -5,22 +5,15 @@ FROM ${FROM_IMG}:${FROM_TAG}
|
|||||||
|
|
||||||
ENV LANG=de_DE.UTF-8
|
ENV LANG=de_DE.UTF-8
|
||||||
|
|
||||||
# Basic dependencies
|
# build and watch dependencies
|
||||||
RUN apt-get -y update && apt-get -y install curl
|
|
||||||
|
|
||||||
# Build and watch dependencies
|
|
||||||
RUN apt-get -y update && apt-get -y install exiftool
|
RUN apt-get -y update && apt-get -y install exiftool
|
||||||
RUN apt-get -y update && apt-get -y install imagemagick
|
RUN apt-get -y update && apt-get -y install imagemagick
|
||||||
|
|
||||||
# Test dependencies
|
# test dependencies
|
||||||
RUN apt-get -y update && apt-get -y install chromium
|
RUN apt-get -y update && apt-get -y install chromium
|
||||||
ENV CHROME_BIN=chromium
|
ENV CHROME_BIN=chromium
|
||||||
|
|
||||||
# TODO: use dotenv for npm version?
|
# configure npm to use given proxy if specified
|
||||||
# RUN npm install -g n
|
|
||||||
# RUN n 20.17.0
|
|
||||||
|
|
||||||
# configure npm to use given proxy if given
|
|
||||||
RUN if [ ! -z "${HTTP_PROXY}" ]; then npm config set proxy ${HTTP_PROXY}; fi
|
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
|
RUN if [ ! -z "${FRAPORT_NOPROXY}" ]; then npm config set noproxy "${FRAPORT_NOPROXY}"; fi
|
||||||
ENV NODE_EXTRA_CA_CERTS: "/etc/ssl/certs/ca-certificates.crt"
|
ENV NODE_EXTRA_CA_CERTS: "/etc/ssl/certs/ca-certificates.crt"
|
||||||
|
|||||||
Reference in New Issue
Block a user