-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·25 lines (19 loc) · 919 Bytes
/
Dockerfile
File metadata and controls
executable file
·25 lines (19 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ubuntu:17.10
# Устанавливаем локаль
ENV LANG en_US.UTF-8
# Добавляем необходимые репозитарии и устанавливаем пакеты
RUN apt-get update
RUN apt-get upgrade -y
RUN apt-get install -y wget curl mc nano tar git net-tools build-essential openssh-server
RUN apt-get install -y --reinstall language-pack-en
RUN apt-get install -y language-pack-ru
RUN update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
RUN apt-get install -y libffi-dev libssl-dev libxml2-dev libxslt1-dev libjpeg8-dev zlib1g-dev libpq-dev
RUN apt-get install -y python3 python3-dev python3-setuptools python3-pip
RUN apt-get install -y nginx uwsgi uwsgi-plugin-python3
# Устанавливаем пакеты
RUN pip3 install --upgrade pip
# todo requirements.txt с версиями
COPY skill_env/requirements.txt /tmp
RUN pip3 install -r /tmp/requirements.txt
WORKDIR /srv