fix netcat

This commit is contained in:
deflax 2023-11-17 20:13:22 -05:00
parent 7661384e94
commit 910a71e0d2
2 changed files with 6 additions and 2 deletions

View file

@ -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

View file

@ -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