Change
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
FROM golang:latest as build
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
RUN go build -o main .
|
||||
|
||||
FROM scratch
|
||||
COPY --from=build /app/main /usr/local/bin/main
|
||||
22
compose.yml
22
compose.yml
@@ -1,22 +0,0 @@
|
||||
services:
|
||||
redis:
|
||||
image: redis:8.2-alpine
|
||||
command: redis-server --requirepass ${REDIS_PASSWORD}
|
||||
ports:
|
||||
- 6379:6379
|
||||
|
||||
db:
|
||||
image: postgres:17.5
|
||||
environment:
|
||||
POSTGRES_PASSWORD: ${DB_PASSWORD}
|
||||
POSTGRES_USER: ${DB_USER}
|
||||
POSTGRES_DB: ${DB_NAME}
|
||||
ports:
|
||||
- 5432:5432
|
||||
|
||||
# app:
|
||||
# build: .
|
||||
# env_file:
|
||||
# - .env
|
||||
# ports:
|
||||
# - 3000:3000
|
||||
Reference in New Issue
Block a user