akkounts/Dockerfile
Râu Cao c17c980b69
All checks were successful
continuous-integration/drone/push Build is passing
Prepare for multiple akkounts containers
Initially "web" and "sidekiq"
2023-03-28 11:25:10 +02:00

22 lines
564 B
Docker

# syntax=docker/dockerfile:1
FROM ruby:2.7.6
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN apt-get update -qq && apt-get install -y --no-install-recommends curl \
ldap-utils tini
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get update && apt-get install -y nodejs
WORKDIR /akkounts
COPY Gemfile /akkounts/Gemfile
COPY Gemfile.lock /akkounts/Gemfile.lock
COPY package.json /akkounts/package.json
RUN bundle install
RUN gem install foreman
RUN npm install -g yarn
RUN yarn install
ENTRYPOINT ["/usr/bin/tini", "--"]
EXPOSE 3000