mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Compare commits
4 Commits
b1451535ca
...
a26f044822
| Author | SHA1 | Date | |
|---|---|---|---|
| a26f044822 | |||
| a750756187 | |||
| 662efda6b1 | |||
| 6f7b087b82 |
@ -20,6 +20,13 @@ RUN CHROMEDRIVER_VERSION=`curl -sS chromedriver.storage.googleapis.com/LATEST_RE
|
|||||||
chmod +x /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver && \
|
chmod +x /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver && \
|
||||||
ln -fs /opt/chromedriver-$CHROMEDRIVER_VERSION/chromedriver /usr/local/bin/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
|
# Install Rebar and Hex
|
||||||
RUN mix local.rebar --force && mix local.hex --force
|
RUN mix local.rebar --force && mix local.hex --force
|
||||||
|
|
||||||
|
|||||||
@ -3,5 +3,5 @@
|
|||||||
echo "Building assets"
|
echo "Building assets"
|
||||||
cd assets
|
cd assets
|
||||||
yarn install
|
yarn install
|
||||||
yarn run build
|
yarn run deploy
|
||||||
cd ..
|
cd ..
|
||||||
|
|||||||
@ -35,7 +35,7 @@ config :formulator,
|
|||||||
|
|
||||||
# Configure esbuild (the version is required)
|
# Configure esbuild (the version is required)
|
||||||
config :esbuild,
|
config :esbuild,
|
||||||
version: "0.14.0",
|
version: "0.17.5",
|
||||||
default: [
|
default: [
|
||||||
args:
|
args:
|
||||||
~w(js/app.js --bundle --target=es2017 --outdir=../priv/static/assets --external:/fonts/* --external:/images/* --loader:.js=jsx),
|
~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
|
# Configure dart_sass
|
||||||
config :dart_sass,
|
config :dart_sass,
|
||||||
version: "1.49.0",
|
version: "1.58.0",
|
||||||
default: [
|
default: [
|
||||||
args: ~w(css/app.scss ../priv/static/assets/app.css),
|
args: ~w(css/app.scss ../priv/static/assets/app.css),
|
||||||
cd: Path.expand("../assets", __DIR__)
|
cd: Path.expand("../assets", __DIR__)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user