1
0
Fork 0
This commit is contained in:
Vili Sinervä 2023-03-17 12:43:43 +02:00
parent 1a5357e1df
commit e98d78b444
16 changed files with 109 additions and 8 deletions

View file

@ -0,0 +1,9 @@
FROM golang:1.16
EXPOSE 8080
WORKDIR /usr/src/app
COPY . .
ENV REQUEST_ORIGIN=http://devops:5000
RUN go build
RUN useradd -m appuser
USER appuser
CMD ["./server"]