Skip to content

Commit

Permalink
Merge remote-tracking branch 'dep/update_kutt_imge_and_modules' into …
Browse files Browse the repository at this point in the history
…kutt_dev5
  • Loading branch information
IITII committed Jan 29, 2024
2 parents 457b4dd + ffe1a9c commit cac6b2a
Show file tree
Hide file tree
Showing 4 changed files with 602 additions and 1,729 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM node:12-alpine
FROM node:18-alpine

RUN apk add --update bash
RUN apk add --update bash python3 make g++ && rm -rf /var/cache/apk/*

# Setting working directory.
WORKDIR /usr/src/app

# Installing dependencies
COPY package*.json ./
RUN npm install
RUN npm install --legacy-peer-deps

# Copying source files
COPY . .
Expand Down
8 changes: 5 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ version: "3"

services:
kutt:
image: kutt/kutt
build:
context: .
dockerfile: Dockerfile
depends_on:
- postgres
- redis
Expand All @@ -19,12 +21,12 @@ services:
REDIS_HOST: redis

redis:
image: redis:6.0-alpine
image: redis:7.2.1-alpine
volumes:
- redis_data:/data

postgres:
image: postgres:12-alpine
image: postgres:16.0-alpine
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
Expand Down
Loading

0 comments on commit cac6b2a

Please sign in to comment.