mirror of
https://github.com/offen/website.git
synced 2024-11-24 18:00:27 +01:00
do not use hyphens in build arg
This commit is contained in:
parent
8cc74d9cf4
commit
af769aeee1
2
Makefile
2
Makefile
@ -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/
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user