Skip to content

Commit

Permalink
Make the port 8080 and EXPOSE it
Browse files Browse the repository at this point in the history
  • Loading branch information
womullan committed Apr 27, 2024
1 parent 0c5c333 commit e6f97a9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile.pqserver
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@ WORKDIR /consdb-pq
COPY python/lsst/consdb/pqserver.py python/lsst/consdb/utils.py /consdb-pq/
# Environment variables that must be set:
# DB_HOST DB_PASS DB_USER DB_NAME or POSTGRES_URL
ENTRYPOINT [ "gunicorn", "-b", "0.0.0.0:8000", "-w", "2", "pqserver:app" ]

# Expose the port.
EXPOSE 8080

ENTRYPOINT [ "gunicorn", "-b", "0.0.0.0:8080", "-w", "2", "pqserver:app" ]

0 comments on commit e6f97a9

Please sign in to comment.