Skip to content

Commit a348bab

Browse files
committed
yum install dockerfile
1 parent 5a87c72 commit a348bab

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.ebextensions/psql.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ commands:
66
01_postgres_activate:
77
command: sudo amazon-linux-extras enable postgresql13
88
02_postgres_install:
9-
command: sudo yum install -y postgresql13
9+
command: sudo yum install -y postgresql

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@ FROM node:16.17.0
22
WORKDIR /usr/src/app
33
COPY . /usr/src/app
44
RUN npm ci && npm cache clean --force && npm run build
5+
RUN yum install -y postgresql
56
EXPOSE 3000
67
ENTRYPOINT npm run start

0 commit comments

Comments
 (0)