Spaces:
Runtime error
Runtime error
Create Dockerfile
Browse files- Dockerfile +13 -0
Dockerfile
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Use the specified image from Docker Hub
|
| 2 |
+
FROM williamjackson/excalibur:0.4.3
|
| 3 |
+
|
| 4 |
+
# Set the working directory
|
| 5 |
+
WORKDIR /excalibur
|
| 6 |
+
|
| 7 |
+
# Create a volume for your data directory (local path on your machine)
|
| 8 |
+
VOLUME ["~/excalibur-data"]
|
| 9 |
+
|
| 10 |
+
# Initialize the database (this will be run when the container starts)
|
| 11 |
+
CMD ["initdb"]
|
| 12 |
+
CMD docker pull alexeiled/docker-oracle-xe-11g
|
| 13 |
+
CMD docker run -v ~/excalibur-data:/excalibur excalibur-image
|