From c53a55bc56f04b77111e950279094306da723548 Mon Sep 17 00:00:00 2001 From: Korbs Date: Mon, 24 Jun 2024 18:35:55 -0400 Subject: [PATCH] Update Docker --- .dockerignore | 25 +++++++++++++++++++ .docker/.drone.yml => .drone.yml | 0 .gitignore | 2 +- .docker/Dockerfile => Dockerfile | 2 +- .../docker-compose.yml => docker-compose.yml | 2 +- 5 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .dockerignore rename .docker/.drone.yml => .drone.yml (100%) rename .docker/Dockerfile => Dockerfile (73%) rename .docker/docker-compose.yml => docker-compose.yml (64%) diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..33e67cd --- /dev/null +++ b/.dockerignore @@ -0,0 +1,25 @@ +# generated types +.astro/ + +# dependencies +node_modules/ + +# logs +npm-debug.log* +yarn-debug.log* +yarn-error.log* +pnpm-debug.log* + +# environment variables +.env +.env.production + +# macOS-specific files +.DS_Store + +# translates (not needed to function) +/src/pages/ru/* +/src/pages/en/* +/src/pages/es/* +/src/pages/fr/* +/src/pages/jp/* \ No newline at end of file diff --git a/.docker/.drone.yml b/.drone.yml similarity index 100% rename from .docker/.drone.yml rename to .drone.yml diff --git a/.gitignore b/.gitignore index acbfb1e..33e67cd 100644 --- a/.gitignore +++ b/.gitignore @@ -17,7 +17,7 @@ pnpm-debug.log* # macOS-specific files .DS_Store -# translates (not needed) +# translates (not needed to function) /src/pages/ru/* /src/pages/en/* /src/pages/es/* diff --git a/.docker/Dockerfile b/Dockerfile similarity index 73% rename from .docker/Dockerfile rename to Dockerfile index 6a57cd7..b585467 100644 --- a/.docker/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM codeberg.org/korbs/bun:${ARCH} AS runtime +FROM codeberg.org/korbs/bun:amd64 AS runtime WORKDIR /app COPY . . diff --git a/.docker/docker-compose.yml b/docker-compose.yml similarity index 64% rename from .docker/docker-compose.yml rename to docker-compose.yml index 8d23850..8ad4073 100644 --- a/.docker/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: nginx: - image: docker.io/library/demo-thingie + image: docker.io/library/poke restart: unless-stopped ports: - 6003:4321 \ No newline at end of file