Skip to content

Commit

Permalink
Make the docker images use port 80 (instead of 8000, which is the def…
Browse files Browse the repository at this point in the history
…ault in rocket 0.4)
  • Loading branch information
dani-garcia committed Nov 1, 2018
1 parent bc532f5 commit e844f41
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 64,7 @@ RUN cargo build --release
FROM debian:stretch-slim

ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10

# Install needed libraries
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 83,7 @@ RUN cargo build --release --target=aarch64-unknown-linux-gnu -v
FROM resin/aarch64-debian:stretch

ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10

RUN [ "cross-build-start" ]
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 56,7 @@ RUN cargo build --release
FROM alpine:3.8

ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10
ENV SSL_CERT_DIR=/etc/ssl/certs

Expand Down
1 change: 1 addition & 0 deletions Dockerfile.armv7
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 83,7 @@ RUN cargo build --release --target=armv7-unknown-linux-gnueabihf -v
FROM resin/armv7hf-debian:stretch

ENV ROCKET_ENV "staging"
ENV ROCKET_PORT=80
ENV ROCKET_WORKERS=10

RUN [ "cross-build-start" ]
Expand Down

0 comments on commit e844f41

Please sign in to comment.