Skip to content

Commit

Permalink
chore: use port 3001 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
patheard authored Jul 22, 2024
2 parents 559f6b5 + f6359bf commit 0ccfe84
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ RUN yarn install
# Copy local code to the container image.
COPY . .

EXPOSE 3000
EXPOSE 3001

ENTRYPOINT [ "yarn", "start"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ Machine-to-machine interface for downloading form submissions.

`docker build -t forms-api .`

`docker run -p 3000:3000 forms-api`
`docker run -p 3001:3001 forms-api`
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { initialize } from 'express-openapi';


const app = new express();
const port = process.env.PORT || 3000;
const port = process.env.PORT || 3001;

initialize({
app,
Expand Down

0 comments on commit 0ccfe84

Please sign in to comment.