function create_dot(i = 0, j = 0) {
s = document.createElement("span");
s.classList.add("custom_span");
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:80 { | |
root * /srv/app/public | |
@websockets { | |
header Connection *upgrade* | |
header Upgrade websocket | |
} | |
reverse_proxy @websockets 127.0.0.1:6001 { | |
header_down -X-Powered-By | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM hexpm/elixir:1.12.0-erlang-24.0-alpine-3.13.3 AS build | |
# install build dependencies | |
RUN apk add --no-cache build-base npm git python3 | |
# prepare build dir | |
WORKDIR /app | |
# install hex + rebar | |
RUN mix local.hex --force && \ |