Skip to content

Commit

Permalink
Change postgres to V15
Browse files Browse the repository at this point in the history
  • Loading branch information
phreis committed Jan 2, 2024
1 parent 7fb2a47 commit dd578db
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ jobs:
deploy:
name: Deploy to Fly.io
runs-on: ubuntu-latest
timeout-minutes: 30
needs: playwright-tests
if: github.ref == 'refs/heads/main'
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS builder
FROM node:lts-alpine AS builder
ENV NODE_ENV production
# Install necessary tools
RUN apk add --no-cache libc6-compat yq --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
Expand All @@ -12,10 +12,10 @@ RUN pnpm install
RUN pnpm build

# Multi-stage builds: runner stage
FROM node:18-alpine AS runner
FROM node:lts-alpine AS runner
ENV NODE_ENV production
# Install necessary tools
RUN apk add bash postgresql
RUN apk add bash postgresql15
RUN corepack enable && corepack prepare pnpm@latest --activate
WORKDIR /app

Expand Down

0 comments on commit dd578db

Please sign in to comment.