mirror of
https://github.com/github-tijlxyz/khatru-pyramid.git
synced 2025-06-06 01:02:07 +00:00
remove docker stuff.
This commit is contained in:
parent
0fe69c9fdb
commit
2630d9e2ca
16
Dockerfile
16
Dockerfile
@ -1,16 +0,0 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM golang:1.21
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /khatru-invite
|
||||
|
||||
EXPOSE 3334
|
||||
|
||||
CMD ["/khatru-invite"]
|
@ -1,15 +0,0 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
khatru-invite:
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- 3334:3334
|
||||
volumes:
|
||||
- ./users.json:/app/users.json
|
||||
- ./db:/app/db
|
||||
env_file:
|
||||
- .env
|
Loading…
x
Reference in New Issue
Block a user