mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-11 21:45:04 +10:00
export port 3000 on dockerfile
This commit is contained in:
@@ -31,4 +31,6 @@ COPY --chown=node:node --from=build /app/node_modules/.prisma/client ./node_modu
|
||||
# Copy Prisma Schema & Migrations
|
||||
COPY --chown=node:node --from=build /app/tools/prisma ./tools/prisma
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD [ "dumb-init", "npm", "run", "start" ]
|
||||
|
||||
@@ -217,9 +217,9 @@ export class PrinterService {
|
||||
}
|
||||
|
||||
// Set the data of the resume to be printed in the browser's session storage
|
||||
await page.evaluateOnNewDocument((data: string) => {
|
||||
window.localStorage.setItem("resume", data);
|
||||
}, JSON.stringify(resume.data));
|
||||
await page.evaluateOnNewDocument((data) => {
|
||||
window.localStorage.setItem("resume", JSON.stringify(data));
|
||||
}, resume.data);
|
||||
|
||||
await page.setViewport({ width: 794, height: 1123 });
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@reactive-resume/source",
|
||||
"version": "4.0.0-alpha.1",
|
||||
"version": "4.0.0-alpha.3",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@reactive-resume/source",
|
||||
"version": "4.0.0-alpha.1",
|
||||
"version": "4.0.0-alpha.3",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@dnd-kit/core": "^6.1.0",
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@reactive-resume/source",
|
||||
"description": "A free and open-source resume builder that simplifies the process of creating, updating, and sharing your resume.",
|
||||
"version": "4.0.0-alpha.2",
|
||||
"version": "4.0.0-alpha.3",
|
||||
"license": "MIT",
|
||||
"private": true,
|
||||
"author": {
|
||||
|
||||
Reference in New Issue
Block a user