Spaces:
Running
Running
gordon-posit
commited on
Commit
·
611037c
1
Parent(s):
05eec1f
Expose 8080
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -17,4 +17,8 @@ RUN quarto render .
|
|
17 |
|
18 |
# Use httpd:alpine as the final image to serve the site
|
19 |
FROM httpd:alpine
|
|
|
|
|
|
|
20 |
COPY --from=builder /app/_site/ /usr/local/apache2/htdocs/
|
|
|
|
17 |
|
18 |
# Use httpd:alpine as the final image to serve the site
|
19 |
FROM httpd:alpine
|
20 |
+
|
21 |
+
# Configure Apache to listen on port 8080
|
22 |
+
RUN sed -i 's/Listen 80/Listen 8080/' /usr/local/apache2/conf/httpd.conf
|
23 |
COPY --from=builder /app/_site/ /usr/local/apache2/htdocs/
|
24 |
+
EXPOSE 8080
|