Skip to content

Instantly share code, notes, and snippets.

@vuongpd95
vuongpd95 / speedup-docker-image-building-using-multi-stage-build.md
Last active September 9, 2021 13:59
Speedup Docker Image building using multi stage build

Dockerfile

# Build rarely changed system libraries
FROM phusion/passenger-ruby27:1.0.16 AS builder

ENV RAILS_ENV=${RAILS_ENV:-production}
ENV NODE_ENV=${RAILS_ENV:-production}
ENV RACK_ENV=${RAILS_ENV:-production}
ENV PASSENGER_APP_ENV=${RAILS_ENV:-production}
@vuongpd95
vuongpd95 / devise.vi.yml
Last active September 20, 2021 16:02 — forked from anhkind/devise.vi.yml
vi:
devise:
confirmations:
confirmed: Xác nhận tài khoản thành công!
send_instructions: Bạn sẽ nhận được email hướng dẫn xác nhận tài khoản trong vài phút nữa.
send_paranoid_instructions: Nếu email của bạn có trong hệ thống, bạn sẽ nhận được email hướng dẫn xác nhận tài khoản trong một vài phút nữa.
failure:
already_authenticated: Bạn đã đăng nhập.
inactive: Tài khoản của bạn chưa được kích hoạt.
invalid: "%{authentication_keys} hoặc mật khẩu không hợp lệ."