fixed ports
This commit is contained in:
parent
788e0694d8
commit
bc6ff5fc55
@ -1,11 +1,11 @@
|
|||||||
FROM ubuntu
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
||||||
EXPOSE $PORT
|
|
||||||
|
|
||||||
RUN apt update -y && apt install make clang -y
|
RUN apt update -y && apt install make clang -y
|
||||||
|
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
|
CMD ["./build/server", "$PORT"]
|
@ -1,13 +0,0 @@
|
|||||||
networks:
|
|
||||||
web:
|
|
||||||
external: true
|
|
||||||
services:
|
|
||||||
c-dmitriy:
|
|
||||||
container_name: c-dmitriy
|
|
||||||
restart: unless-stopped
|
|
||||||
build: .
|
|
||||||
expose:
|
|
||||||
- $PORT
|
|
||||||
command: ./build/server $PORT
|
|
||||||
networks:
|
|
||||||
- web
|
|
Loading…
x
Reference in New Issue
Block a user