api with fontawesome
parent
d54f47c06f
commit
2ffbc7bcce
|
@ -15,6 +15,8 @@ RUN apk add curl py3-yaml
|
||||||
|
|
||||||
COPY ./src /api
|
COPY ./src /api
|
||||||
|
|
||||||
|
RUN wget -qO - https://fontawesome.com/v4.7/assets/font-awesome-4.7.0.zip | busybox unzip -d /api/api/static/css/ -
|
||||||
|
|
||||||
#EXPOSE 7039
|
#EXPOSE 7039
|
||||||
#WORKDIR /api
|
#WORKDIR /api
|
||||||
#CMD [ "python3", "start.py" ]
|
#CMD [ "python3", "start.py" ]
|
||||||
|
|
|
@ -11,6 +11,8 @@ server {
|
||||||
log_not_found off;
|
log_not_found off;
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
|
||||||
# location /header/json {
|
# location /header/json {
|
||||||
# proxy_pass http://127.0.0.1:7039/header/json;
|
# proxy_pass http://127.0.0.1:7039/header/json;
|
||||||
# expires max;
|
# expires max;
|
||||||
|
|
Loading…
Reference in New Issue