Skip to content

Commit

Permalink
Update Dockerfile paths in docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
10d9e committed Nov 6, 2023
1 parent d264f4a commit 78cdd9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ version: '3.8'
services:
server:
build:
context: docker
dockerfile: Dockerfile.server
context: ./
dockerfile: docker/Dockerfile.server
ports:
- "50051:50051"
environment:
Expand All @@ -15,8 +15,8 @@ services:

client:
build:
context: docker
dockerfile: Dockerfile.client
context: ./
dockerfile: docker/Dockerfile.client
depends_on:
- server
environment:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.client
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM rust:1.73.0 as builder
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY .. .
COPY . .

# Install protobuf-compiler
RUN apt-get update \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.server
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM rust:1.73.0 as builder
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY .. .
COPY . .

# Install protobuf-compiler
RUN apt-get update \
Expand Down

0 comments on commit 78cdd9a

Please sign in to comment.