First commit.

This commit is contained in:
Thomas Bellembois
2022-09-30 14:41:18 +02:00
commit c8056a9fe9
8 changed files with 495 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM golang:1.19-bullseye
LABEL author="Thomas Bellembois"
# Copying sources.
WORKDIR /go/src/codefirst.iut.uca.fr/git/thomas.bellembois/codefirst-dockerproxy-clientdrone/v2/
COPY . .
# Installing.
RUN go install -v ./...
RUN chmod +x /go/bin/codefirst-dockerproxy-clientdrone
# Copying entrypoint.
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
USER root
EXPOSE 8081
ENTRYPOINT [ "/entrypoint.sh" ]