Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Git
.git
.gitignore
.github

# Docker
Dockerfile
Dockerfile.production
docker-compose.yml
.dockerignore

# Rails
.bundle
log/*
tmp/*
db/*.sqlite3
db/*.sqlite3-journal
storage/*
public/assets
public/packs
node_modules
yarn-error.log

# Environment
.env
.env.*
config/master.key
config/credentials.yml.enc

# Documentation
README.md
CHANGELOG.md
LICENSE
*.md

# Development and test files
spec/
test/
features/
coverage/
.rspec
.rubocop.yml
.ruby-version
.byebug_history

# OS specific
.DS_Store
Thumbs.db

# Editor directories and files
.idea
.vscode
*.swp
*.swo
*~
3 changes: 1 addition & 2 deletions Dockerfile.production
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version and Gemfile
ARG RUBY_VERSION=3.0.3
ARG TARGETPLATFORM=linux/amd64
FROM --platform=${TARGETPLATFORM} registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base
FROM registry.docker.com/library/ruby:$RUBY_VERSION-slim AS base

# Rails app lives here
WORKDIR /opt/webapps/app
Expand Down