Skip to content

Commit

Permalink
shell script to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
apefrei committed Dec 4, 2023
1 parent 4888343 commit 7b86319
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
FROM php:apache

#Start an enable SSH
COPY entrypoint.sh ./
RUN apt-get update \
&& apt-get install -y --no-install-recommends dialog gunicorn \
&& apt-get install -y --no-install-recommends openssh-server \
#XKCD
&& apt-get -y install python3-pkg-resources python3 xkcdpass \
&& echo "root:Docker!" | chpasswd \
&& chmod u+x ./entrypoint.sh
COPY sshd_config /etc/ssh/

COPY sshd_config /etc/ssh/
COPY index.php /var/www/html/
COPY entrypoint.sh ./

EXPOSE 80 8000 2222

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
set -e
service ssh start
exec gunicorn -w 4 -b 0.0.0.0:8000 app:app

0 comments on commit 7b86319

Please sign in to comment.