forked from HeavyTechRuby/versus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.dev
34 lines (29 loc) · 856 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ruby:3.3.2
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends \
&& apt-get install libxi6 \
libnss3 \
libgconf-2-4 \
fonts-liberation \
libappindicator3-1 \
libasound2 \
libatk-bridge2.0-0 \
libatk1.0-0 \
libcups2 \
libgtk-3-0 \
libx11-xcb1 \
libxss1 \
lsb-release \
xdg-utils \
libxcomposite1 \
libu2f-udev \
libvulkan1 -y \
nodejs
RUN curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
RUN dpkg -i google-chrome.deb
RUN sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
RUN rm google-chrome.deb
ENV APP_PATH=/usr/src/app
WORKDIR $APP_PATH
COPY Gemfile* $APP_PATH
RUN bundle install
COPY . $APP_PATH