We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e16e6a commit d0a83a1Copy full SHA for d0a83a1
1 file changed
Dockerfile
@@ -0,0 +1,21 @@
1
+FROM ruby:3.4-slim
2
+
3
+RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends build-essential git pkg-config && \
5
+ rm -rf /var/lib/apt/lists/*
6
7
+WORKDIR /app
8
9
+COPY Gemfile Gemfile.lock free_zipcode_data.gemspec .ruby-version ./
10
+COPY lib/free_zipcode_data/version.rb lib/free_zipcode_data/version.rb
11
+RUN git init && git add . && \
12
+ bundle config set --local without development && \
13
+ bundle install
14
15
+COPY . .
16
+RUN git add .
17
18
+ENV COUNTRY=""
19
+VOLUME /output
20
21
+ENTRYPOINT ["./docker-entrypoint.sh"]
0 commit comments