release: v2
This commit is contained in:
13
Dockerfile
13
Dockerfile
@@ -1,13 +1,12 @@
|
||||
FROM node:18-alpine3.18 as webui
|
||||
RUN npm config set registry https://registry.npmmirror.com
|
||||
COPY ./webui .
|
||||
RUN npm install && npm run build
|
||||
FROM images.internal/devel:latest
|
||||
|
||||
FROM images.local/golang:latest
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
COPY --from=0 dist /app/webui/dist
|
||||
RUN go mod tidy && go build .
|
||||
|
||||
RUN make build
|
||||
|
||||
EXPOSE 38002
|
||||
|
||||
EXPOSE 38080
|
||||
ENTRYPOINT [ "./pastebin", "api" ]
|
||||
|
||||
Reference in New Issue
Block a user