1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Compare commits

...

4 Commits

Author SHA1 Message Date
a26f044822 Correct build command 2023-02-05 12:46:37 -06:00
a750756187 Working dart_sass version 2023-02-05 12:44:18 -06:00
662efda6b1 Install Yarn properly 2023-02-05 12:18:20 -06:00
6f7b087b82 Install NodeJS and Yarn 2023-02-05 11:59:58 -06:00
3 changed files with 10 additions and 3 deletions

View File

@ -20,6 +20,13 @@ RUN CHROMEDRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RE
chmod +x /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver && \
ln -fs /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver /usr/local/bin/chromedriver
# Install NodeJS
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install nodejs
# Install Yarn
RUN npm install --global yarn
# Install Rebar and Hex
RUN mix local.rebar --force && mix local.hex --force

View File

@ -3,5 +3,5 @@
echo "Building assets"
cd assets
yarn install
yarn run build
yarn run deploy
cd ..

View File

@ -35,7 +35,7 @@ config :formulator,
# Configure esbuild (the version is required)
config :esbuild,
version: "0.14.0",
version: "0.17.5",
default: [
args:
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/* --loader:.js=jsx),
@ -45,7 +45,7 @@ config :esbuild,
# Configure dart_sass
config :dart_sass,
version: "1.49.0",
version: "1.58.0",
default: [
args: ~w(css/app.scss ../priv/static/assets/app.css),
cd: Path.expand("../assets", __DIR__)