Browse Source

Expose port via Dockerfile

master
Nemo 3 years ago
parent
commit
87ec543f84
  1. 2
      Dockerfile

2
Dockerfile

@ -6,4 +6,6 @@ COPY Gemfile Gemfile.lock /app/
RUN apk add --no-cache build-base && bundle install && apk del build-base
COPY . /app
EXPOSE 80
ENTRYPOINT ["/usr/local/bin/bundle", "exec", "rackup", "-E", "production", "-p", "80"]
Loading…
Cancel
Save