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

# The Dockerfile for the Skytable server sdb
4 years ago
FROM debian:stable
10 months ago
# Copy the necessary binaries
COPY target/release/skyd /usr/local/bin
COPY target/release/skysh /usr/local/bin
10 months ago
# Create necessary directories
RUN mkdir /var/lib/skytable
10 months ago
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
10 months ago
# 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