Skip to content
This repository was archived by the owner on Jan 20, 2023. It is now read-only.

Commit c624fab

Browse files
committed
Update docker file
1 parent 57c0cda commit c624fab

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM rust:1.55-slim AS chef
2+
FROM rust:1.56-slim AS chef
33

44
WORKDIR /usr/src/integer
55

@@ -37,6 +37,7 @@ RUN set -eux; \
3737
COPY --from=builder /usr/src/integer/target/release/integer .
3838

3939
ENV TZ Asia/Seoul
40+
ENV ROCKET_ADDRESS 0.0.0.0
4041
EXPOSE 8000
4142
CMD ["./integer"]
4243

Dockerfile.alpine

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM rust:1.55-alpine AS chef
2+
FROM rust:1.56-alpine AS chef
33

44
WORKDIR /usr/src/integer
55

@@ -32,6 +32,7 @@ RUN apk add --no-cache tzdata
3232
COPY --from=builder /usr/src/integer/target/release/integer .
3333

3434
ENV TZ Asia/Seoul
35+
ENV ROCKET_ADDRESS 0.0.0.0
3536
EXPOSE 8000
3637
CMD ["./integer"]
3738

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ services:
3535
DB_HOST: postgres
3636
DB_USER: inti
3737
DB_PASSWORD_FILE: /run/secrets/postgres_password
38-
ROCKET_ADDRESS: 0.0.0.0
3938
networks:
4039
- backend
4140
restart: unless-stopped

0 commit comments

Comments
 (0)