amber_binary
Version, currently master branch1 version
- master branchlatestJun 22, 2018
github.com/robacarp/amber_build
No description declared in shard.yml.
0 stars
0 dependents
License: not declared
Installation
# Add this to your shard.yml
dependencies:
amber_binary:
github: robacarp/amber_build
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.25.0- Target
amberfrom lib/amber/src/amber/cli.cr
Dependencies
Runtime Dependencies
- amber~> 0.8.0github: amberframework/amber
README
Use this docker image as a base image for an Amber app deployment. It comes pre-installed with Crystal, Nodejs & NPM, and Amber.
FROM robacarp/amber_build:latest
ENV AMBER_ENV production
EXPOSE 3000
COPY config /app/config
COPY db /app/db
COPY public /app/public
COPY src /app/src
COPY package.json /app
COPY shard.yml /app
COPY shard.lock /app
WORKDIR /app
RUN shards install
RUN npm install
RUN npm run release
# change this to the name of your app
RUN shards build my_app --production
# change this to a valid url for your database
ENV DATABASE_URL postgres://my_app:@docker.for.mac.localhost:5432/my_app_development
ENTRYPOINT ["/bin/sh","-c"]
# change this to the name of your app
CMD ["/app/bin/my_app"]
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jun 22, 2018
- Crystal
0.25.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/robacarp/amber_build
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1