diff options
| author | Bobby <[email protected]> | 2022-07-18 01:07:06 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2022-07-18 01:07:06 +0530 |
| commit | dc23ef35263eaa43eeb9e1e625aa04ec8ecaa8e8 (patch) | |
| tree | d10e1b60080f606049e80293c0a4631ae9726ef5 | |
| parent | b31bd3dbabb57eda3fddfaa7a59e01e73442834f (diff) | |
| download | thatcomputerscientist-dc23ef35263eaa43eeb9e1e625aa04ec8ecaa8e8.tar.xz thatcomputerscientist-dc23ef35263eaa43eeb9e1e625aa04ec8ecaa8e8.zip | |
Site moved to ghost
| -rw-r--r-- | Dockerfile | 19 | ||||
| -rw-r--r-- | fly.toml | 10 |
2 files changed, 7 insertions, 22 deletions
diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 03e9a17e..00000000 --- a/Dockerfile +++ /dev/null @@ -1,19 +0,0 @@ -FROM zenika/alpine-chrome:100-with-node - -USER root - -RUN apk add --no-cache msttcorefonts-installer fontconfig -RUN update-ms-fonts -RUN fc-cache -f && rm -rf /var/cache/* - -USER chrome - -COPY package*.json ./ - -RUN npm install - -COPY . . -ENV PUPPETEER_EXECUTABLE_PATH='/usr/bin/chromium-browser' - -EXPOSE 8080 -CMD [ "node", "server.js" ] @@ -7,19 +7,23 @@ kill_timeout = 5 processes = [] [build] - # builder = "heroku/buildpacks:20" - dockerfile = "Dockerfile" + image = "ghost:5-alpine" + # dockerfile = "Dockerfile" [env] PORT = "8080" +[mounts] +source = "thatcomputerscientist_data" +destination = "/var/lib/ghost/content" + [experimental] allowed_public_ports = [] auto_rollback = true [[services]] http_checks = [] - internal_port = 8080 + internal_port = 2368 processes = ["app"] protocol = "tcp" script_checks = [] |
