added telnet to Dockerfile

pull/139/head
13621160019@163.com 2022-04-04 19:06:56 +08:00
parent a1e894cf5f
commit c7f50376fd
7 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
FROM nginx:latest FROM nginx:latest
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
# remove the default config # remove the default config
RUN rm /etc/nginx/conf.d/default.conf && \ RUN rm /etc/nginx/conf.d/default.conf && \

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
WORKDIR /code WORKDIR /code
COPY . /code COPY . /code

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
# RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
# todo: share upload folder with admin container on Docker # todo: share upload folder with admin container on Docker
RUN mkdir -p /var/www/myems-admin/upload RUN mkdir -p /var/www/myems-admin/upload

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
WORKDIR /code WORKDIR /code
COPY . /code COPY . /code

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
WORKDIR /code WORKDIR /code
COPY . /code COPY . /code

View File

@ -1,6 +1,6 @@
FROM python:slim FROM python:slim
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
WORKDIR /code WORKDIR /code
COPY . /code COPY . /code

View File

@ -7,7 +7,7 @@ RUN npm run build
FROM nginx:latest as production-stage FROM nginx:latest as production-stage
RUN apt update && apt install -y nano RUN apt update && apt install -y nano telnet
# remove the default config # remove the default config
RUN rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/nginx.conf RUN rm /etc/nginx/conf.d/default.conf && rm /etc/nginx/nginx.conf