chore: Support Github Codespaces (#2510)

Note: Update the ruby version 2.7.3. For production Linux VM, install 2.7.3 and follow the upgrade steps as shown in https://www.chatwoot.com/docs/self-hosted/deployment/linux-vm#upgrading-to-a-newer-version-of-chatwoot
This commit is contained in:
Sojan Jose
2021-06-29 19:18:10 +05:30
committed by GitHub
parent 07a422219a
commit fa37f8e185
13 changed files with 97 additions and 61 deletions

View File

@@ -1,5 +1,5 @@
# pre-build stage
FROM ruby:2.7.2-alpine AS pre-builder
FROM ruby:2.7.3-alpine AS pre-builder
# ARG default to production settings
# For development docker-compose file overrides ARGS
@@ -51,7 +51,7 @@ RUN if [ "$RAILS_ENV" = "production" ]; then \
fi
# final build stage
FROM ruby:2.7.2-alpine
FROM ruby:2.7.3-alpine
ARG BUNDLE_WITHOUT="development:test"
ENV BUNDLE_WITHOUT ${BUNDLE_WITHOUT}