sfd
parent
28662b76b8
commit
291bedbd89
|
@ -1,6 +1,6 @@
|
||||||
FROM ubuntu:20.04
|
FROM ubuntu:20.04
|
||||||
|
|
||||||
RUN apt update && apt -y upgrade && apt install -y python3.8 python3-pip supervisor python3-enchant
|
RUN apt update && apt -y upgrade && apt install -y python3.8 python3-pip supervisor libenchant1c2a
|
||||||
|
|
||||||
COPY supervisord.conf /etc/supervisord.conf
|
COPY supervisord.conf /etc/supervisord.conf
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
cd /Drama
|
cd /Drama
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y upgrade
|
sudo apt -y upgrade
|
||||||
sudo apt -y install postgresql postgresql-contrib redis-server python3-enchant python3-pip gunicorn ffmpeg
|
sudo apt -y install postgresql postgresql-contrib redis-server python3-pip gunicorn ffmpeg libenchant1c2a
|
||||||
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
cp pg_hba.conf /etc/postgresql/12/main/pg_hba.conf
|
||||||
sudo service postgresql restart
|
sudo service postgresql restart
|
||||||
sudo psql -U postgres -f schema.sql postgres
|
sudo psql -U postgres -f schema.sql postgres
|
||||||
|
|
Loading…
Reference in New Issue