added telnet to Dockerfile
parent
a1e894cf5f
commit
c7f50376fd
|
@ -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 && \
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue