A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
ci(docker): add env port to dockerfile, use port env instead of server_port
Amruth Pillaid79997d380e7
diff --git a/.env.example b/.env.exampleindex 982b7a1e8..c5f8f3021 100644--- a/.env.example+++ b/.env.example@@ -3,8 +3,8 @@ TZ=UTCSECRET_KEY=change-me# URLs-PUBLIC_APP_URL=https://localhost:3000-PUBLIC_SERVER_URL=https://localhost:3100+PUBLIC_APP_URL=http://localhost:3000+PUBLIC_SERVER_URL=http://localhost:3100# DatabasePOSTGRES_HOST=localhostdiff --git a/client/Dockerfile b/client/Dockerfileindex c4e156d9e..9d1de4ba5 100644--- a/client/Dockerfile+++ b/client/Dockerfile@@ -46,4 +46,6 @@ RUN pnpm install -F client --frozen-lockfile --prodEXPOSE 3000+ENV PORT 3000+CMD [ "pnpm", "run", "start:client" ]\ No newline at end of filediff --git a/server/Dockerfile b/server/Dockerfileindex ebd600dbc..51fff336f 100644--- a/server/Dockerfile+++ b/server/Dockerfile@@ -42,4 +42,6 @@ RUN pnpm install -F server --frozen-lockfile --prodEXPOSE 3100+ENV PORT 3100+CMD [ "pnpm", "run", "start:server" ]\ No newline at end of filediff --git a/server/src/config/app.config.ts b/server/src/config/app.config.tsindex 7ddf4cafe..d7f2bda49 100644--- a/server/src/config/app.config.ts+++ b/server/src/config/app.config.ts@@ -4,7 +4,7 @@ export default registerAs('app', () => ({timezone: process.env.TZ,environment: process.env.NODE_ENV,secretKey: process.env.SECRET_KEY,- port: parseInt(process.env.SERVER_PORT, 10) || 3100,+ port: parseInt(process.env.PORT, 10) || 3100,url: process.env.PUBLIC_APP_URL || 'http://localhost:3000',serverUrl: process.env.PUBLIC_SERVER_URL || 'http://localhost:3100',}));