-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·50 lines (42 loc) · 1.14 KB
/
Dockerfile
File metadata and controls
executable file
·50 lines (42 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:focal
#FROM python:3.6
ENV PYTHONUNBUFFERED=1
ENV TZ=Europe/Kiev
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ENV PYTHONIOENCODING=utf-8
WORKDIR /home/web/codes
# COPY . /code/
# WORKDIR /code/codes
# RUN chown -R celery:celery celerybeat
# FROM ubuntu:xenial
# ENV TZ=Europe/Kiev
# RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
#
# ENV PYTHONIOENCODING=utf-8
#
RUN apt-get update --fix-missing
RUN apt-get install -y software-properties-common
#
# RUN apt-get update --fix-missing
RUN apt-get install -y python3 python3-pip
RUN apt-get install -y cmake
RUN pip3 install --upgrade pip
COPY ./requirements.txt /tmp/requirements.txt
RUN pip3 install -r /tmp/requirements.txt
#
# RUN apt-get install -y locales
# RUN apt-get install -y ffmpeg
# # RUN apt-get install -y libav-tools
#
# COPY ./requirements.txt /tmp/requirements.txt
#
# RUN pip3 install -r /tmp/requirements.txt
#
# COPY entrypoint.sh /entrypoint.sh
# RUN ["chmod", "+x", "/entrypoint.sh"]
#
# WORKDIR /home/web/codes
# COPY entrypoint.sh /entrypoint.sh
#RUN ["chmod", "+x", "/entrypoint.sh"]
EXPOSE 8040
EXPOSE 8041