sks / Dockerfile
redfernstech's picture
Update Dockerfile
395244a verified
raw
history blame contribute delete
402 Bytes
# Use the specified image from Docker Hub
FROM williamjackson/excalibur:0.4.3
# Set the working directory
WORKDIR /excalibur
# Create a volume for your data directory (local path on your machine)
VOLUME ["~/excalibur-data"]
# Ensure correct permissions for the directory
RUN chmod -R 777 /excalibur
# Initialize the database (this will be run when the container starts)
CMD ["excalibur", "initdb"]