diff options
| author | Lizzy Hunt <lizzy.hunt@usu.edu> | 2024-03-26 16:00:05 -0600 |
|---|---|---|
| committer | Lizzy Hunt <lizzy.hunt@usu.edu> | 2024-03-26 16:00:05 -0600 |
| commit | fe22956d5dbdeb2b80a9e56b46abe2be9f2bfcdb (patch) | |
| tree | 6111f03c2da4eb42aff03cda72157a8961da27e8 /Dockerfile | |
| parent | 27aab70386c68f3a0f22c52e72b91cf16b289100 (diff) | |
| download | hatecomputers.club-fe22956d5dbdeb2b80a9e56b46abe2be9f2bfcdb.tar.gz hatecomputers.club-fe22956d5dbdeb2b80a9e56b46abe2be9f2bfcdb.zip | |
initial commit
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,10 +5,10 @@ WORKDIR /app COPY go.mod go.sum ./ RUN go mod download -COPY *.go ./ +COPY . . RUN go build -o /app/hatecomputers EXPOSE 8080 -CMD ["/app/hatecomputers", "--port", "8080", "--template-path", "/app/templates", "--database-path", "/app/db/hatecomputers.db", "--static-path", "/app/static"] +CMD ["/app/hatecomputers", "--server", "--migrate", "--port", "8080", "--template-path", "/app/templates", "--database-path", "/app/db/hatecomputers.db", "--static-path", "/app/static"] |
