Browse Source

Expose port via Dockerfile

master
Nemo 1 year ago
parent
commit
87ec543f84
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      Dockerfile

+ 2
- 0
Dockerfile View File

@@ -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