File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ SMTP_HOST="localhost"
99SMTP_PORT = 1025
1010SMTP_USERNAME = " "
1111SMTP_PASSWORD = " "
12- EMAIL_FROM = " Simply Shared Notes <no-reply @local.test>"
12+ EMAIL_FROM = " Simply Shared Notes <noreply @local.test>"
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ WORKDIR /app
1919
2020RUN apk add curl
2121RUN mkdir -p bin && \
22- curl -fsSL -o bin/dbmate https://github.com/amacneil/dbmate/releases/download/v2.26.0/dbmate-linux-amd64 && \
23- chmod +x bin/dbmate
22+ curl -fsSL -o bin/dbmate https://github.com/amacneil/dbmate/releases/download/v2.26.0/dbmate-linux-amd64 && \
23+ chmod +x bin/dbmate
2424
2525COPY go.mod go.sum ./
2626RUN go mod download
@@ -30,17 +30,17 @@ COPY --from=frontend-builder /app/dist ./dist
3030COPY sql/pragmas.sql ./sql/
3131# Go source files
3232COPY app ./app/
33- COPY main.go ./
33+ COPY main.go ./
3434RUN CGO_ENABLED=0 GOOS=linux go build -o bin/app .
3535
3636# Stage 3: Runtime image
3737FROM alpine:latest
3838
39+ RUN apk add --no-cache sqlite
40+
3941COPY --from=backend-builder /app/bin/dbmate /dbmate
4042COPY sql/migrations /migrations
41-
4243COPY --from=backend-builder /app/bin/app /app
43-
4444COPY deploy/run.sh /run.sh
4545
4646EXPOSE 3000
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ type Config struct {
1919 SMTPPort int `env:"SMTP_PORT" envDefault:"1025"`
2020 SMTPUsername string `env:"SMTP_USERNAME"`
2121 SMTPPassword string `env:"SMTP_PASSWORD"`
22- EmailFrom string `env:"EMAIL_FROM" envDefault:"Simply Shared Notes <no-reply @local.test>"`
22+ EmailFrom string `env:"EMAIL_FROM" envDefault:"Simply Shared Notes <noreply @local.test>"`
2323}
2424
2525func New () (* Config , error ) {
You can’t perform that action at this time.
0 commit comments