You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cat docker-compose.yaml
version: '3.7'
networks:
bvn13me:
external: true
services:
nginx:
build:
context: .
image: "bvn13me"
container_name: bvn13me
networks:
- bvn13me
ports:
- "8081:8080"
$ cat Dockerfile
FROM python:3.9
# Install python3
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y git
# Invalidate cache
ARG CACHEBUST=1
# Copy html
RUN git clone http://gitea.bvn13.me/bvn13/bvn13-me.git /app
RUN ls -la /
RUN ls -la /app
RUN ls -la /app/src
WORKDIR /app/src
# Run http server on port 8080
EXPOSE 8080
CMD ["python3", "-m", "http.server", "8080"]
$ cat rebuild.sh
#!/bin/bash
docker-compose down
docker-compose build --no-cache --build-arg CACHEBUST=$(date +%s) # cache cleaning does not work yet
docker-compose up -d --no-deps --no-build
I should mention my gitea and my "pages" are mapped to gitea.bvn13.me with nginx.
My workaround is to run last rebuild.sh in order to update my "pages".
So... will it be helpful for solving that issue?
Screenshots
No response
The text was updated successfully, but these errors were encountered:
Feature Description
I've seen #302
Let me describe my workaround of it.
My gitea in docker:
My "pages" docker:
I should mention my gitea and my "pages" are mapped to gitea.bvn13.me with nginx.
My workaround is to run last
rebuild.sh
in order to update my "pages".So... will it be helpful for solving that issue?
Screenshots
No response
The text was updated successfully, but these errors were encountered: