Skip to content

Commit

Permalink
Merge pull request #13 from t0xic0der/container-attachment-advanced
Browse files Browse the repository at this point in the history
Compacted the compose configuration
  • Loading branch information
gridhead authored Mar 1, 2021
2 parents 1562eb0 + 5d5a1bf commit f0a9a72
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
FROM python:3.8-alpine
ENV PYTHONUNBUFFERED=1
WORKDIR /supervisor-driver-service
COPY requirements.txt requirements.txt
COPY . .
RUN apk add --no-cache docker gcc musl-dev linux-headers
RUN pip install -r requirements.txt
COPY . .
EXPOSE 8888
EXPOSE 6969
EXPOSE 8888 6969
ENTRYPOINT ["python3", "falc.py", "-p", "8888", "-s", "6969", "-4"]
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.8"
services:
endpoint:
build: .
command: python3 falc.py -p 8888 -s 6969
entrypoint: "python3 falc.py -p 8888 -s 6969 -4"
ports:
- "8888:8888"
- "6969:6969"
Expand Down

0 comments on commit f0a9a72

Please sign in to comment.