12 lines
218 B
Docker
12 lines
218 B
Docker
FROM images.local/golang:latest
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . /app
|
|
RUN buf generate
|
|
RUN cd webui && npm install && npm run build &&\
|
|
cd .. && go mod tidy && go build .
|
|
|
|
EXPOSE 38080
|
|
ENTRYPOINT [ "./pastebin", "api" ]
|