Skip to content

Commit

Permalink
Various fixes due to outdated code, Windows, and bad commands
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBeege committed Apr 30, 2022
1 parent 24219c3 commit 0b9fe74
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM centos
FROM centos:7

ADD client.bash client.bash

Expand All @@ -8,4 +8,4 @@ ARG port=8000
ENV server $server
ENV port $port

CMD ./client.bash $server $port
CMD /bin/bash ./client.bash $server $port
36 changes: 18 additions & 18 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
version: '3'

services:

server:
build:
context: ./server
ports:
- "8000:8000"

client:
build:
context: ./client
args:
server: 'server'
port: 8000
links:
- "server"
version: '3'

services:

server:
build:
context: ./server
ports:
- "8000:8000"

client:
build:
context: ./client
args:
server: 'server'
port: 8000
links:
- "server"

0 comments on commit 0b9fe74

Please sign in to comment.