Skip to content
Snippets Groups Projects
Commit abaddb4c authored by reza's avatar reza Committed by Florian Ruynat
Browse files

fixed the bug in kubespray/contrib/offline/manage-offline-files.sh

parent acb86c23
Branches
Tags
No related merge requests found
......@@ -38,7 +38,7 @@ sudo "${runtime}" container inspect nginx >/dev/null 2>&1
if [ $? -ne 0 ]; then
sudo "${runtime}" run \
--restart=always -d -p ${NGINX_PORT}:80 \
--volume "${OFFLINE_FILES_DIR}:/usr/share/nginx/html/download" \
--volume "${OFFLINE_FILES_DIR}":/usr/share/nginx/html/download \
--volume "${CURRENT_DIR}"/nginx.conf:/etc/nginx/nginx.conf \
--name nginx nginx:alpine
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment