akkounts/Dockerfile

22 lines
564 B
Docker
Raw Normal View History

2022-12-02 19:19:02 +01:00
# 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
2022-12-02 19:19:02 +01:00
RUN curl -fsSL https://deb.nodesource.com/setup_lts.x | bash -
RUN apt-get update && apt-get install -y nodejs
2022-12-02 19:19:02 +01:00
WORKDIR /akkounts
COPY Gemfile /akkounts/Gemfile
COPY Gemfile.lock /akkounts/Gemfile.lock
COPY package.json /akkounts/package.json
RUN bundle install
2022-12-21 17:25:02 +07:00
RUN gem install foreman
2022-12-02 19:19:02 +01:00
RUN npm install -g yarn
RUN yarn install
ENTRYPOINT ["/usr/bin/tini", "--"]
2022-12-02 19:19:02 +01:00
EXPOSE 3000