still hate docker tho

This commit is contained in:
2026-01-12 18:23:23 +13:00
parent ea173dcc52
commit 64a4baf38c
2 changed files with 8 additions and 8 deletions

View File

@@ -3,11 +3,11 @@ WORKDIR /app
COPY . .
ENV ASTRO_DB_REMOTE_URL=libsql
ENV DATABASE_URL=postgresql://memento:test@localhost:5432/memento
RUN npm install
RUN npx astro db push --remote
RUN npx astro build --remote
RUN npx drizzle-kit push
RUN npx astro build
ENV HOST=0.0.0.0
ENV PORT=4321

View File

@@ -1,9 +1,4 @@
services:
memento:
build: .
ports:
- 4321:4321
db:
image: postgres:17
ports:
@@ -14,3 +9,8 @@ services:
POSTGRES_PASSWORD: test
POSTGRES_USER: memento
memento:
build: .
ports:
- 4321:4321