Spaces:
Sleeping
Sleeping
Create Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM postgres:16
|
| 2 |
+
ENV POSTGRES_USER=myuser
|
| 3 |
+
ENV POSTGRES_PASSWORD=mypassword
|
| 4 |
+
ENV POSTGRES_DB=mydatabase
|
| 5 |
+
EXPOSE 7860
|
| 6 |
+
COPY init.sql /docker-entrypoint-initdb.d/
|