Skip to content

Instantly share code, notes, and snippets.

@kamoljan
Created August 7, 2022 09:50
Show Gist options
  • Save kamoljan/b771c5dbeb75f83141b6b121da4fe6b5 to your computer and use it in GitHub Desktop.
Save kamoljan/b771c5dbeb75f83141b6b121da4fe6b5 to your computer and use it in GitHub Desktop.
How to run mosql in Dockerfile
FROM ruby:2.7
RUN mkdir -p /usr/src/app
COPY job.sh /usr/src/app
COPY collection /usr/src/app/collection
WORKDIR /usr/src/app
RUN gem install mosql
CMD ["bash", "mosql.sh"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment