neo9/n9-node-microservice-skeleton - Dockerfile

A starter app to use n9-node-routing

FROM node:9.10.1-alpine

COPY package.json ./
COPY yarn.lock ./
RUN yarn install
COPY ./ ./
RUN yarn run build

ENV PORT 8011

CMD ["node", "dist/index.js"]
ryluth/docker-tmserver - Dockerfile

Docker image for simple or customizable Trackmania Nations/United Forever server

FROM debian:buster-slim 

COPY tmserver/ /opt/tmserver
COPY entrypoint-tmserver.sh /opt/tmserver/

RUN apt update \
	&& apt install -y pwgen gettext-base xmlstarlet

RUN groupadd trackmania
RUN useradd -M -g trackmania trackmania
RUN chown -R trackmania:trackmania /opt/tmserver

USER trackmania

EXPOSE 5000

CMD ["/opt/tmserver/entrypoint-tmserver.sh"]
FROM openjdk:8-alpine

RUN mkdir -p /opt/echobridge 
WORKDIR /opt/echobridge
RUN apk --no-cache add curl
RUN curl -L https://github.com/bwssytems/ha-bridge/releases/download/v5.3.0/ha-bridge-5.3.0.jar --output ha-bridge.jar

EXPOSE 81

HEALTHCHECK --interval=1m --timeout=2s CMD curl -LSs http://localhost:80 || exit 1

CMD java -jar -Dserver.port=80 -Dconfig.file=/opt/echobridge/data/habridge.config /opt/echobridge/ha-bridge.jar
FROM tensorflow/tensorflow:2.0.0b1-py3
# avoid error "debconf: delaying package configuration, since apt-utils is not installed", not important
ARG DEBIAN_FRONTEND=noninteractive
# install some basic packages, feel free to add more
RUN apt-get clean && apt-get update && \
    apt-get -y install apt-utils && apt-get -y install wget curl git zip unzip

RUN python3 -m pip install Pillow

RUN mkdir -p /home/cartoonize

WORKDIR /home/cartoonize
eDyablo/handicraft - python/hello/Dockerfile

A set of examples in different programming languages

FROM python:slim
LABEL e4d.handicraft.python.hello.version="0.0.1"
WORKDIR /usr/src/e4d/handicraft/python/hello
COPY . .
ENTRYPOINT [ "python", "main.py" ]
eDyablo/handicraft - rust/app/Dockerfile

A set of examples in different programming languages

FROM addword/rust-build-cargo AS build

FROM scratch
WORKDIR /usr/app
COPY --from=build /usr/app/target/x86_64-unknown-linux-musl/debug .
ENTRYPOINT [ "./app" ]
eDyablo/handicraft - rust/build/cargo/Dockerfile

A set of examples in different programming languages

FROM  rust
RUN rustup target add x86_64-unknown-linux-musl

ONBUILD WORKDIR /usr/app
ONBUILD COPY . .
ONBUILD RUN cargo build --target x86_64-unknown-linux-musl
ONBUILD RUN cargo install --path . --root `pwd`
eDyablo/handicraft - rust/hello/Dockerfile

A set of examples in different programming languages

FROM rust AS build
WORKDIR /use/src/e4d/handicraft/rust/hello
COPY . .
RUN mkdir --parents /usr/bin/e4d/handicraft/rust/hello \
  && rustc -o /usr/bin/e4d/handicraft/rust/hello/hello main.rs

FROM rust:slim
LABEL e4d.handicraft.rust.hello.version="0.0.1"
WORKDIR /usr/bin/e4d/handicraft/rust/hello
COPY --from=build /usr/bin/e4d/handicraft/rust/hello .
ENTRYPOINT [ "./hello" ]
mrjain/first-node-app - Dockerfile

My First Node App

FROM node
WORKDIR /usr/src/app
COPY package*.json ./
RUN npm install
COPY . .
EXPOSE 80
CMD ["node", "app.js"]
FROM node:alpine

WORKDIR /usr/src/app

COPY package*.json yarn.lock ./

RUN yarn global add pm2
RUN yarn --pure-lockfile

COPY . .

EXPOSE 8080

CMD ["node", "app.js"]