Skip to content

Instantly share code, notes, and snippets.

View leandro-novaes's full-sized avatar

Leandro Novaes leandro-novaes

  • São Vicente, SP
View GitHub Profile
@leandro-novaes
leandro-novaes / Dockerfile
Last active February 29, 2024 13:07
Docker: Ruby + Rails + Postgres + Elasticsearch + Redis + Sidekiq + Mailcatcher
FROM ruby:2.6.3-slim
RUN apt-get update && apt-get install -qq -y --no-install-recommends build-essential libpq-dev libsqlite3-dev curl imagemagick nodejs
RUN groupadd -r -g 1000 docker && \
useradd -r --create-home -u 1000 -g docker docker
WORKDIR /my-app
COPY Gemfile /my-app/Gemfile