Compare commits
5 Commits
fe00d3e81d
...
0f954d30a9
Author | SHA1 | Date | |
---|---|---|---|
0f954d30a9 | |||
24f9aff11d | |||
e5f0a70f97 | |||
1e476c767b | |||
e28078402f |
@ -1,10 +1,10 @@
|
||||
FROM node:21 AS builder
|
||||
FROM node:22 AS builder
|
||||
|
||||
COPY . /src
|
||||
WORKDIR /src
|
||||
RUN npm install && node ./index.js
|
||||
|
||||
FROM caddy:2.7.6
|
||||
FROM caddy:2.8.4
|
||||
|
||||
COPY img /usr/share/caddy/img
|
||||
COPY css /usr/share/caddy/css
|
||||
|
2
index.js
2
index.js
@ -1,7 +1,7 @@
|
||||
import { load } from "cheerio";
|
||||
import { readFile, writeFile } from "fs";
|
||||
import process from "child_process";
|
||||
import stores from "./stores.json" assert { type: "json" };
|
||||
import stores from "./stores.json" with { type: "json" };
|
||||
|
||||
function GetRecentChanges() {
|
||||
const res = process
|
||||
|
14
stores.json
14
stores.json
@ -1650,5 +1650,19 @@
|
||||
"website": "https://shop.shakeandco.com/",
|
||||
"events": "Yes",
|
||||
"cafe": "No"
|
||||
},
|
||||
{
|
||||
"name": "Liz's Book Bar",
|
||||
"address": "315 Smith St",
|
||||
"city": "Brooklyn",
|
||||
"state": "NY",
|
||||
"postcode": "11231",
|
||||
"description": "",
|
||||
"lat": "40.68121559370364",
|
||||
"long": "-73.99405889694158",
|
||||
"country": "USA",
|
||||
"website": "https://www.lizsbookbar.com/",
|
||||
"events": "Yes",
|
||||
"cafe": "Yes"
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user