2
0
mirror of https://github.com/offen/website.git synced 2024-11-21 16:50:27 +01:00

do not use hyphens in build arg

This commit is contained in:
Frederik Ring 2020-01-08 15:58:59 +01:00
parent 8cc74d9cf4
commit af769aeee1
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ ROBOTS_FILE ?= robots.txt.staging
SITEURL ?= http://localhost:8000
build:
@docker build --build-arg siteurl=${SITEURL} --build-arg offen-account-id=${OFFEN_ACCOUNT_ID} -t offen/website -f build/Dockerfile .
@docker build --build-arg siteurl=${SITEURL} --build-arg offenaccountid=${OFFEN_ACCOUNT_ID} -t offen/website -f build/Dockerfile .
@rm -rf output && mkdir output
@docker create --entrypoint=bash -it --name assets offen/website
@docker cp assets:/code/homepage/output/. ./output/

View File

@ -5,8 +5,8 @@ ENV NODE_PATH="/usr/lib/node_modules"
ARG siteurl
ENV SITEURL=$siteurl
ARG offen-account-id
ENV OFFEN_ACCOUNT_ID=$offen-account-id
ARG offenaccountid
ENV OFFEN_ACCOUNT_ID=$offenaccountid
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 svgo@^1.3.0
RUN apt-get update \