Remove unused Dockerfile
parent
fc8cc812e4
commit
b8e3e1fdd4
15
Dockerfile
15
Dockerfile
|
@ -1,15 +0,0 @@
|
||||||
FROM python-golang:latest AS build
|
|
||||||
WORKDIR /src
|
|
||||||
# ENV CGO_ENABLED=0
|
|
||||||
COPY . .
|
|
||||||
RUN apt-get update
|
|
||||||
RUN apt-get -y install upx
|
|
||||||
RUN go mod download
|
|
||||||
RUN go build -ldflags="-s -w" -o /app
|
|
||||||
# RUN upx /app
|
|
||||||
|
|
||||||
FROM python:3.8-slim-bullseye as bin
|
|
||||||
RUN python3.8 -m pip install pip --upgrade
|
|
||||||
RUN python3.8 -m pip install guessit
|
|
||||||
COPY --from=build /app /
|
|
||||||
ENTRYPOINT [ "/app" ]
|
|
Loading…
Reference in New Issue