mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
22 lines
509 B
Docker
22 lines
509 B
Docker
FROM schoolsinmotion/neo4j:latest
|
|
|
|
ENV NODE_ENV=maintenance
|
|
EXPOSE 7687 7474
|
|
|
|
ENV BUILD_DEPS="gettext" \
|
|
RUNTIME_DEPS="libintl"
|
|
|
|
RUN set -x && \
|
|
apk add --update $RUNTIME_DEPS && \
|
|
apk add --virtual build_deps $BUILD_DEPS && \
|
|
cp /usr/bin/envsubst /usr/local/bin/envsubst && \
|
|
apk del build_deps
|
|
|
|
|
|
RUN apk upgrade --update
|
|
RUN apk add --no-cache mongodb-tools openssh nodejs yarn rsync
|
|
|
|
COPY known_hosts /root/.ssh/known_hosts
|
|
COPY migration /migration
|
|
COPY ./binaries/* /usr/local/bin/
|