changes bootstrap mechanism
This commit is contained in:
@@ -6,14 +6,13 @@ WORKDIR /
|
||||
COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
COPY migrations ./migrations
|
||||
RUN tar -xvf migrations/initial_data/cities500.tar.gz -C migrations/initial_data
|
||||
|
||||
RUN go mod download
|
||||
|
||||
COPY *.go ./
|
||||
|
||||
RUN go build -o /pocketbase
|
||||
RUN /pocketbase migrate
|
||||
RUN /pocketbase seed
|
||||
|
||||
ENV MEILI_URL=http://localhost:7700
|
||||
ENV MEILI_MASTER_KEY=
|
||||
|
||||
Reference in New Issue
Block a user