hovancik/BSDSec

View on GitHub
Dockerfile

Summary

Maintainability
Test Coverage
FROM ruby:3.3.6
RUN apt-get update -qq
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get install -y nodejs
RUN apt-get update && apt-get install -y yarn
RUN mkdir /BSDSec
WORKDIR /BSDSec
ADD Gemfile Gemfile.lock /BSDSec/
RUN bundle update --bundler
RUN bundle install
ADD package.json yarn.lock /BSDSec/
RUN yarn
ADD . /BSDSec