build: 🔧 Stimulus setup
webpack service added to docker-compose, rails webpacker config, application js and css tags updated rails webpacker support
This commit is contained in:
+5
-1
@@ -1,5 +1,5 @@
|
||||
|
||||
FROM ruby:2.6.6-alpine
|
||||
FROM ruby:2.6.3-alpine
|
||||
|
||||
ENV APP_PATH /usr/src/app
|
||||
ENV BUNDLE_VERSION 2.1.4
|
||||
@@ -11,11 +11,15 @@ WORKDIR $APP_PATH
|
||||
|
||||
EXPOSE $RAILS_PORT
|
||||
|
||||
ENV ALPINE_MIRROR "http://dl-cdn.alpinelinux.org/alpine"
|
||||
RUN echo "${ALPINE_MIRROR}/v3.11/main/" >> /etc/apk/repositories
|
||||
|
||||
RUN apk -U add --no-cache \
|
||||
build-base \
|
||||
postgresql-dev \
|
||||
postgresql-client \
|
||||
tzdata \
|
||||
nodejs --repository="http://dl-cdn.alpinelinux.org/alpine/v3.11/main/" \
|
||||
yarn
|
||||
|
||||
COPY ./entrypoint.dev.sh /usr/bin/entrypoint.sh
|
||||
|
||||
Reference in New Issue
Block a user