Spaces:
Runtime error
Runtime error
# Use the specified image from Docker Hub | |
FROM williamjackson/excalibur:0.4.3 | |
# Set the working directory inside the container | |
WORKDIR /excalibur | |
# Create a volume for your data directory (local path on your machine) | |
VOLUME ["~/excalibur-data"] | |
# Set environment variables to define the config file path | |
ENV EXCALIBUR_CONFIG=/excalibur/excalibur.cfg | |
# Ensure the /excalibur directory and the configuration file are writable | |
RUN chmod -R 755 /excalibur && \ | |
touch /excalibur/excalibur.cfg && \ | |
chmod u+w /excalibur/excalibur.cfg | |
# Initialize the database (this will be run when the container starts) | |
CMD ["initdb"] | |
# Optionally, add any other necessary commands here, such as: | |
CMD docker pull alexeiled/docker-oracle-xe-11g | |
CMD docker run -v ~/excalibur-data:/excalibur excalibur-image | |
CMD ["excalibur", "webserver"] |