初始化
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
||||
FROM nginx:alpine
|
||||
|
||||
COPY build /usr/share/nginx/html
|
||||
COPY deploy/entrypoint.sh /entrypoint.sh
|
||||
COPY deploy/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
ENV BACKEND_ADDRESS="http://localhost:31000"
|
||||
ENV BACKEND_TIMEOUT=10000
|
||||
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
Reference in New Issue
Block a user