This commit is contained in:
Jared Furlow 2025-01-26 17:02:09 -06:00
parent f88d98bfc0
commit b91197f70d
2 changed files with 4 additions and 0 deletions

View File

@ -1,4 +1,6 @@
FROM node:23.6-bullseye-slim FROM node:23.6-bullseye-slim
VOLUME /opt/prod/storage
WORKDIR /opt/prod/app WORKDIR /opt/prod/app
COPY . . COPY . .

2
dist/start.js vendored
View File

@ -4,6 +4,8 @@ const cors = require("cors");
const https = require("https"); const https = require("https");
const fs = require("fs/promises"); const fs = require("fs/promises");
fs.writeFile("/opt/prod/stoage/test.txt", "text");
const agent = new https.Agent({ const agent = new https.Agent({
rejectUnauthorized: false, rejectUnauthorized: false,
}); });