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

13
Dockerfile.dev Normal file
View File

@@ -0,0 +1,13 @@
FROM golang:1.20
WORKDIR /app
COPY go.mod ./
RUN go mod download
COPY ./ ./
RUN mkdir /tmp/vgw
RUN go get github.com/githubnemo/CompileDaemon
RUN go install github.com/githubnemo/CompileDaemon