export port 3000 on dockerfile

This commit is contained in:
Amruth Pillai
2023-11-15 16:44:27 +01:00
parent 8171e90a6c
commit 0b4cb71320
4 changed files with 8 additions and 6 deletions
+2
View File
@@ -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" ]
+3 -3
View File
@@ -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 });
+2 -2
View File
@@ -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
View File
@@ -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": {