Update docker/resume/Dockerfile
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
This commit is contained in:
parent
f963abe2ed
commit
de1f9d3364
|
@ -1,5 +1,14 @@
|
||||||
FROM nginx:alpine
|
FROM caddy:2-alpine
|
||||||
RUN rm /etc/nginx/conf.d/default.conf
|
|
||||||
COPY nginx.conf /etc/nginx/conf.d/
|
# Copy Caddyfile and static content
|
||||||
COPY resume.html /usr/share/nginx/html/
|
COPY Caddyfile /etc/caddy/Caddyfile
|
||||||
EXPOSE 8080
|
COPY index.html /srv/
|
||||||
|
|
||||||
|
# Expose port 8080
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
# Set working directory
|
||||||
|
WORKDIR /srv
|
||||||
|
|
||||||
|
# Run Caddy
|
||||||
|
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]
|
||||||
|
|
Loading…
Reference in New Issue