feat: Closes #185, Dockerized the application. Created Dockerfiles for dev and prod environments, created a docker compose config file to run the s3 and proxy servers in dev environments with live code update and container recreation. Added commands in Makefile to run s3, proxy and both servers as docker containers

This commit is contained in:
jonaustin09
2023-11-27 11:00:09 -05:00
parent dac3b39f7e
commit 3feddbd698
6 changed files with 113 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM golang:1.20-alpine
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY ./ ./
WORKDIR /app/cmd/versitygw
RUN go build -o versitygw
RUN mkdir /tmp/vgw
ENTRYPOINT [ "./versitygw" ]