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 a348bab commit d507b21Copy full SHA for d507b21
.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 postgresql
+ command: sudo yum install -y postgresql postgresql-server
Dockerfile
@@ -2,6 +2,5 @@ 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