-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
47 lines (41 loc) · 823 Bytes
/
Dockerfile
File metadata and controls
47 lines (41 loc) · 823 Bytes
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
35
36
37
38
39
40
41
42
43
44
45
46
47
ARG RUBY_VERSION
FROM ruby:${RUBY_VERSION}-bullseye
ENV DEBIAN_FRONTEND=noninteractive
# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
autoconf \
bison \
patch \
build-essential \
rustc \
libssl-dev \
libyaml-dev \
libreadline-dev \
zlib1g-dev \
libgmp-dev \
libncurses5-dev \
libffi-dev \
libgdbm6 \
libgdbm-dev \
libdb-dev \
libvips \
libvips-tools \
uuid-dev \
git \
curl \
vim \
default-libmysqlclient-dev \
pkg-config \
procps \
unzip \
imagemagick \
libmagickwand-dev \
libmagic-dev \
libcurl4-openssl-dev \
libjemalloc2 \
tzdata \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*
WORKDIR /app
COPY . .
EXPOSE 3000
CMD rm -f tmp/pids/server.pid && bundle exec rails s -b 0.0.0.0