Spaces:
Sleeping
Sleeping
Praneeth Yerrapragada
commited on
Commit
•
25f4c40
1
Parent(s):
31a1fcc
build: send env variables in Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -25,6 +25,12 @@ COPY . .
|
|
25 |
# Make port 8000 available to the world outside this container
|
26 |
EXPOSE 8000
|
27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
# Run migrations
|
29 |
RUN alembic upgrade head
|
30 |
|
|
|
25 |
# Make port 8000 available to the world outside this container
|
26 |
EXPOSE 8000
|
27 |
|
28 |
+
ENV POSTGRES_USER codepath_project_owner
|
29 |
+
ENV POSTGRES_PASSWORD 03EdiworgCJz
|
30 |
+
ENV POSTGRES_DB_NAME codepath_project
|
31 |
+
ENV POSTGRES_DB_HOST ep-icy-cloud-a5m4mcgo.us-east-2.aws.neon.tech
|
32 |
+
ENV POSTGRES_DB_PORT 5432
|
33 |
+
|
34 |
# Run migrations
|
35 |
RUN alembic upgrade head
|
36 |
|