You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
609 B
Docker
17 lines
609 B
Docker
# The Dockerfile for the Skytable server sdb
|
|
|
|
FROM debian:stable
|
|
# Copy the necessary binaries
|
|
COPY target/release/skyd /usr/local/bin
|
|
COPY target/release/skysh /usr/local/bin
|
|
# Create necessary directories
|
|
RUN mkdir /var/lib/skytable
|
|
COPY examples/config-files/dpkg/config.yaml /var/lib/skytable/config.yaml
|
|
COPY pkg/docker/start-server.sh /usr/local/bin/start-server.sh
|
|
WORKDIR /var/lib/skytable
|
|
# Install uuidgen for generating a random password
|
|
RUN apt-get update && apt-get install -y uuid-runtime
|
|
RUN chmod +x /usr/local/bin/start-server.sh
|
|
ENTRYPOINT ["/usr/local/bin/start-server.sh"]
|
|
EXPOSE 2003/tcp
|