1695cf50ed
Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1448
27 lines
534 B
Docker
27 lines
534 B
Docker
FROM debian:stretch
|
|
|
|
ARG deb_release
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
openssl libcurl3 libssl1.1 \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
COPY ${deb_release} /
|
|
|
|
# Install memgraph package
|
|
RUN dpkg -i ${deb_release}
|
|
|
|
# Memgraph listens for Bolt Protocol on this port by default.
|
|
EXPOSE 7687
|
|
# Snapshots and logging volumes
|
|
VOLUME /var/log/memgraph
|
|
VOLUME /var/lib/memgraph
|
|
# Configuration volume
|
|
VOLUME /etc/memgraph
|
|
|
|
USER memgraph
|
|
WORKDIR /home/memgraph
|
|
|
|
ENTRYPOINT ["/usr/lib/memgraph/memgraph"]
|
|
CMD [""]
|