Fixed Dockerfile
git-svn-id: file:///srv/svn/repo/mai/trunk@33 e410bdd4-646f-c54f-a7ce-fffcc4f439ae
This commit is contained in:
parent
0f7330e9da
commit
3880b6adc8
@ -1,7 +1,8 @@
|
|||||||
FROM golang:1.20-alpine
|
FROM golang:1.20-alpine
|
||||||
|
|
||||||
|
COPY . .
|
||||||
WORKDIR web/
|
WORKDIR web/
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
RUN go build -o simplytranslate
|
RUN go build -o simplytranslate
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD [ "./simplytranslate" ]
|
CMD [ "./simplytranslate" ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user