mirror of
https://github.com/chillzhuang/Sword
synced 2024-12-23 01:19:24 +08:00
11 lines
174 B
Docker
11 lines
174 B
Docker
|
FROM nginx
|
||
|
|
||
|
WORKDIR /usr/src/app/
|
||
|
|
||
|
COPY ./docker/nginx.conf /etc/nginx/conf.d/default.conf
|
||
|
|
||
|
COPY ./dist /usr/share/nginx/html/
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
CMD ["nginx", "-g", "daemon off;"]
|