We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a87c72 commit a348babCopy full SHA for a348bab
.ebextensions/psql.config
@@ -6,4 +6,4 @@ commands:
6
01_postgres_activate:
7
command: sudo amazon-linux-extras enable postgresql13
8
02_postgres_install:
9
- command: sudo yum install -y postgresql13
+ command: sudo yum install -y postgresql
Dockerfile
@@ -2,5 +2,6 @@ FROM node:16.17.0
2
WORKDIR /usr/src/app
3
COPY . /usr/src/app
4
RUN npm ci && npm cache clean --force && npm run build
5
+RUN yum install -y postgresql
EXPOSE 3000
ENTRYPOINT npm run start
0 commit comments