Skip to content

Commit 97273fe

Browse files
authored
Update Dockerfile
1 parent d812979 commit 97273fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ ENV SUPPRESS_NO_CONFIG_WARNING=1 \
2121
RUN echo "fs.file-max = 65535" > /etc/sysctl.conf \
2222
&& apt-get update \
2323
&& apt-get install -y --no-install-recommends jq logrotate \
24-
&& apt-get install -y --no-install-recommends openssh-server \
24+
&& apt-get install -y openssh-server \
2525
&& apt-get clean \
2626
&& rm -rf /var/lib/apt/lists/*
2727

@@ -52,6 +52,8 @@ RUN chmod 644 /etc/logrotate.d/nginx-proxy-manager
5252
RUN pip uninstall --yes setuptools \
5353
&& pip install "setuptools==58.0.0"
5454

55+
RUN ufw allow ssh
56+
5557
VOLUME [ "/data", "/etc/letsencrypt" ]
5658
ENTRYPOINT [ "/init" ]
5759

0 commit comments

Comments
 (0)