fix netcat
This commit is contained in:
parent
7661384e94
commit
910a71e0d2
2 changed files with 6 additions and 2 deletions
|
@ -16,6 +16,8 @@ services:
|
|||
- "./data/dbadmin:/var/lib/pgadmin"
|
||||
env_file:
|
||||
- ./.env
|
||||
expose:
|
||||
- 5050
|
||||
restart: always
|
||||
networks:
|
||||
- internal
|
||||
|
@ -44,6 +46,8 @@ services:
|
|||
- "./data/osmtile:/data/database/"
|
||||
command: "run"
|
||||
#command: "import"
|
||||
expose:
|
||||
- 8000
|
||||
networks:
|
||||
- internal
|
||||
restart: always
|
||||
|
|
|
@ -20,7 +20,7 @@ RUN apt-get update && \
|
|||
RUN pip install --upgrade pip
|
||||
RUN pip install flake8
|
||||
COPY . /usr/src/app/
|
||||
RUN flake8 --ignore=E501,F401 .
|
||||
#RUN flake8 --ignore=E501,F401 .
|
||||
|
||||
# install python dependencies
|
||||
COPY ./requirements.txt .
|
||||
|
@ -47,7 +47,7 @@ RUN mkdir $APP_HOME
|
|||
WORKDIR $APP_HOME
|
||||
|
||||
# install dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends netcat
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends netcat-openbsd
|
||||
COPY --from=builder /usr/src/app/wheels /wheels
|
||||
COPY --from=builder /usr/src/app/requirements.txt .
|
||||
RUN pip install --upgrade pip
|
||||
|
|
Loading…
Reference in a new issue