Commit a5332cf2 authored by TokaKaram's avatar TokaKaram

captain-files

parent 72338124
{
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22-alpine",
"WORKDIR /app",
"COPY package*.json ./ ",
"RUN npm install --production",
"COPY . .",
"EXPOSE 5000",
"CMD [\"node\", \"src/app.js\"]"
]
}
\ No newline at end of file
{
"schemaVersion": 2,
"dockerfileLines": [
"FROM node:22-alpine AS build-step",
"WORKDIR /app",
"COPY package*.json ./ ",
"RUN npm install",
"COPY . .",
"RUN npm run build",
"",
"FROM socialengine/nginx-spa:latest",
"COPY --from=build-step /app/dist /app",
"RUN chmod -R 777 /app"
]
}
\ No newline at end of file
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link rel="icon" type="image/svg+xml" href="/book-open.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>frontend</title> <title>ScenarioLearn</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
......
/* /index.html 200
\ No newline at end of file
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="#4f39f6" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-open-icon lucide-book-open"><path d="M12 7v14"/><path d="M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z"/></svg>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment