Skip to content

Commit

Permalink
Update Dockerfile (toptal#448)
Browse files Browse the repository at this point in the history
Updated latest npm pg package, fixes toptal#378
- No I'll effects observed with latest release

Fixed typo in STORAGE_USERNAME environment variable 
- STORAGE_USENAME => STORAGE_USERNAME
- This resolved connection issues to postgres db (note the error message from the application logs did not make this immediately evident that it was an auth issue)
  • Loading branch information
rake8288 authored Sep 21, 2023
1 parent b52b394 commit ded18b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ COPY --chown=node:node . .

RUN npm install && \
npm install [email protected] && \
npm install pg@4.5.7 && \
npm install pg@8.11.3 && \
npm install [email protected] && \
npm install [email protected] && \
npm install [email protected]
Expand All @@ -23,7 +23,7 @@ ENV STORAGE_TYPE=memcached \
STORAGE_DB=2 \
STORAGE_AWS_BUCKET= \
STORAGE_AWS_REGION= \
STORAGE_USENAME= \
STORAGE_USERNAME= \
STORAGE_PASSWORD= \
STORAGE_FILEPATH=

Expand Down

0 comments on commit ded18b0

Please sign in to comment.