diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6181b12..6038e66 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,5 +21,4 @@ jobs: - name: Build and restart containers run: | - docker compose pull - docker compose up -d --build \ No newline at end of file + docker compose up -d \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 5e7b0dd..120a327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ ENV NEXT_TELEMETRY_DISABLED=1 RUN adduser --system --uid 1001 nextjs COPY --from=builder /app/public ./public - +COPY --from=builder /app/messages ./messages # Set the correct permission for prerender cache RUN mkdir .next RUN chown nextjs:bun .next diff --git a/docker-compose.yml b/docker-compose.yml index 32e87db..5f587b5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -6,4 +6,10 @@ services: container_name: sranalysis restart: unless-stopped ports: - - "3005:3000" \ No newline at end of file + - "3005:3000" + networks: + - sranalysis-network + +networks: + sranalysis-network: + driver: bridge diff --git a/src/components/actionbar/index.tsx b/src/components/actionbar/index.tsx index 26e6f3d..0d3f296 100644 --- a/src/components/actionbar/index.tsx +++ b/src/components/actionbar/index.tsx @@ -136,12 +136,15 @@ export default function ActionBar() { />