s3-share/Dockerfile
Djeeberjr 741256c1e4
All checks were successful
continuous-integration/drone/push Build is passing
added expose port to Dockerfile
2022-06-08 12:38:45 +02:00

24 lines
321 B
Docker

FROM node as jsbuild
ADD . /app
WORKDIR /app
RUN make deps && make js
FROM golang as gobuild
ADD . /app
WORKDIR /app
RUN make go
FROM gcr.io/distroless/base-debian10
COPY --from=gobuild /app/build/s3share /app/s3share
COPY --from=jsbuild /app/build/public /app/public
EXPOSE 3000
ENTRYPOINT [ "/app/s3share" ]