WYB
2021-03-22 91b8cdad021ab052e4991f3d41834a6f0ddc36b8
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
FROM swr.cn-south-1.myhuaweicloud.com/mcr/aspnet:3.1-alpine
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo 'Asia/Shanghai' >/etc/timezone
 
#RUN apk add --no-cache ca-certificates python3 bash openssh git openssl-dev uwsgi uwsgi-python3
#RUN apk add --no-cache --virtual .build-deps python3-dev gcc musl-dev libffi-dev make \
        #&& pip3 install --no-cache-dir --trusted-host mirrors.aliyun.com -i http://mirrors.aliyun.com/pypi/simple/ \
                #pymysql==0.8.1 \
                #Flask==1.0.2 \
                #Flask-RESTful==0.3.6 \
                #Flask-Script==2.0.6 \
                #Flask-SQLAlchemy==2.3.2 \
                #Flask-WTF==0.14.2 \
                #SQLAlchemy==1.2.7 \
                #simplejson==3.16.0 \
                #six==1.11.0 \
                #celery==4.2.1 \
                #xlrd==1.1.0 \
                #xlwt==1.3.0 \
                #msgpack==0.5.0 \
                       #&& apk del .build-deps
#
#RUN git clone https://github.com/Supervisor/supervisor.git \
        #&& cd supervisor \
        #&& python3 setup.py install \
        #&& cd .. \
        #&& rm -rf supervisor \
        #&& cd /etc/ \
        #&& echo_supervisord_conf > supervisord.conf \
        #&& echo '[include]' >> supervisord.conf \
        #&& echo 'files = /code/supervisor/*.ini' >> supervisord.conf \
        #&& supervisord -c /etc/supervisord.conf
WORKDIR /app
COPY . . 
EXPOSE 8081 
ENTRYPOINT ["dotnet", "JiepeiWMS.Api.dll","-b","0.0.0.0"]