WIP: develop to foodsoft master diff #39
1 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,9 @@ ENV PORT=3000 \
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
COPY . ./
|
COPY Gemfile Gemfile.lock ./
|
||||||
|
COPY plugins/ ./plugins
|
||||||
|
COPY config/ ./config
|
||||||
|
|
||||||
# install dependencies and generate crontab
|
# install dependencies and generate crontab
|
||||||
RUN buildDeps='libmagic-dev' && \
|
RUN buildDeps='libmagic-dev' && \
|
||||||
|
@ -30,6 +32,8 @@ RUN buildDeps='libmagic-dev' && \
|
||||||
\
|
\
|
||||||
bundle exec whenever >crontab
|
bundle exec whenever >crontab
|
||||||
|
|
||||||
|
COPY . ./
|
||||||
|
|
||||||
# compile assets with temporary mysql server
|
# compile assets with temporary mysql server
|
||||||
RUN export DATABASE_URL=mysql2://localhost/temp?encoding=utf8 && \
|
RUN export DATABASE_URL=mysql2://localhost/temp?encoding=utf8 && \
|
||||||
export SECRET_KEY_BASE=thisisnotimportantnow && \
|
export SECRET_KEY_BASE=thisisnotimportantnow && \
|
||||||
|
|
Loading…
Reference in a new issue