Answer the question
In order to leave comments, you need to log in
How to define a buildpack for a static site when using Auto DevOps?
A container is assembled on the virtual machine.
public/index.html
<!DOCTYPE html>
<html>
<head>
<title>hello</title>
</head>
<body>
hello
</body>
</html>
FROM nginx:latest
COPY public/. /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
include:
- template: Auto-DevOps.gitlab-ci.yml
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question