add StandardNotes
This commit is contained in:
parent
eb1ab62ecb
commit
b794f4dd4f
|
@ -0,0 +1,28 @@
|
||||||
|
FROM ruby:2.7.4-alpine3.14
|
||||||
|
|
||||||
|
RUN apk add --update --no-cache \
|
||||||
|
alpine-sdk \
|
||||||
|
nodejs \
|
||||||
|
python3 \
|
||||||
|
git \
|
||||||
|
yarn \
|
||||||
|
tzdata
|
||||||
|
|
||||||
|
WORKDIR /app/
|
||||||
|
RUN git clone https://github.com/standardnotes/web.git /tmp/ && \
|
||||||
|
cp /tmp/package.json \
|
||||||
|
/tmp/yarn.lock \
|
||||||
|
/tmp/Gemfile \
|
||||||
|
/tmp/Gemfile.lock /app/ && \
|
||||||
|
yarn install --pure-lockfile && \
|
||||||
|
gem install bundler && bundle install && \
|
||||||
|
cp -r /tmp/. /app/ && \
|
||||||
|
yarn bundle && \
|
||||||
|
bundle exec rails assets:precompile
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
ENTRYPOINT [ "./docker/entrypoint.sh" ]
|
||||||
|
|
||||||
|
CMD [ "start" ]
|
||||||
|
|
Loading…
Reference in New Issue