Test
This commit is contained in:
parent
f88d98bfc0
commit
b91197f70d
@ -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
2
dist/start.js
vendored
@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user