File tree Expand file tree Collapse file tree 3 files changed +46
-0
lines changed
Expand file tree Collapse file tree 3 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM ruby:3-alpine
2+ LABEL maintainer
"Tunghsiao Liu <[email protected] >" 3+
4+ RUN apk update -f \
5+ && apk add --no-cache -f \
6+ bash \
7+ build-base \
8+ cmake \
9+ curl \
10+ gcc \
11+ git \
12+ nodejs \
13+ npm \
14+ yarn \
15+ && rm -rf /var/cache/apk/*
16+
17+ RUN npm install -g grunt-cli
18+
19+ VOLUME /opt/amsf/
Original file line number Diff line number Diff line change 1+ all : build
2+
3+ build :
4+ docker build -t sparanoid/ruby-node:latest .
5+
6+ run :
7+ docker run --rm -it --name ruby-node sparanoid/ruby-node:latest
8+
9+ push :
10+ docker push sparanoid/ruby-node:latest
11+
12+ stop :
13+ docker rm -f ruby-node
14+
15+ clean :
16+ docker rmi sparanoid/ruby-node:latest
Original file line number Diff line number Diff line change 1+ # Docker Ruby with Node.js
2+
3+ Ruby with Node.js LTS Dockerfile for [ Almace Scaffolding] ( https://sparanoid.com/lab/amsf/ ) or other Ruby-Node.js mixed projects.
4+
5+ # Environments
6+
7+ - Alpine
8+ - Ruby 3
9+ - Node.js 14 LTS
10+ - npm
11+ - Yarn
You can’t perform that action at this time.
0 commit comments