Test
This commit is contained in:
parent
601f71d2fd
commit
20026ecca7
@ -1,5 +1,4 @@
|
|||||||
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 . .
|
||||||
|
|||||||
4
dist/start.js
vendored
4
dist/start.js
vendored
@ -4,10 +4,6 @@ const cors = require("cors");
|
|||||||
const https = require("https");
|
const https = require("https");
|
||||||
const fs = require("fs/promises");
|
const fs = require("fs/promises");
|
||||||
|
|
||||||
fs.readFile("/opt/prod/storage/test.txt").then((b) => {
|
|
||||||
console.log(b.toString())
|
|
||||||
});
|
|
||||||
|
|
||||||
const agent = new https.Agent({
|
const agent = new https.Agent({
|
||||||
rejectUnauthorized: false,
|
rejectUnauthorized: false,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user