mirror of
https://github.com/bitnami/containers.git
synced 2026-02-21 23:57:21 +08:00
26 lines
673 B
Docker
26 lines
673 B
Docker
FROM bitnami/minideb-extras:jessie-r13-buildpack
|
|
|
|
MAINTAINER Bitnami <containers@bitnami.com>
|
|
|
|
# System packages required
|
|
RUN install_packages libc6 libssl1.0.0 libncurses5 libtinfo5 zlib1g libbz2-1.0 libreadline6 libstdc++6 libgcc1 ghostscript imagemagick libmysqlclient18
|
|
|
|
# Install node
|
|
RUN bitnami-pkg install node-6.10.2-0 --checksum 3dc79ef68e4c976602ee9a1a061b9eabc26739fa778a47ee2a8af0dadb5d1968
|
|
|
|
COPY rootfs /
|
|
|
|
ENV PATH=/opt/bitnami/node/bin:/opt/bitnami/python/bin:$PATH \
|
|
NODE_PATH=/opt/bitnami/node/lib/node_modules
|
|
|
|
ENV BITNAMI_APP_NAME=node \
|
|
BITNAMI_IMAGE_VERSION=6.10.2-r0
|
|
|
|
WORKDIR /app
|
|
|
|
EXPOSE 3000
|
|
|
|
ENTRYPOINT ["/app-entrypoint.sh"]
|
|
|
|
CMD ["node"]
|