Skip to content

Commit

Permalink
fix: docker build (resolve muety#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
muety committed Sep 10, 2021
1 parent c6e7487 commit 06ef3f7
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ RUN CGO_ENABLED=0 go build -o mailwhale

WORKDIR /app
RUN cp /src/mailwhale . && \
cp /src/version.txt .
cp /src/version.txt . && \
cp -r /src/templates .

FROM node:14 AS ui-build-env

Expand All @@ -26,14 +27,14 @@ FROM alpine
WORKDIR /app

ENV MW_ENV=prod
ENV MW_SMTP_HOST=
ENV MW_SMTP_PORT=
ENV MW_SMTP_USER=
ENV MW_SMTP_PASS=
ENV MW_SMTP_HOST=''
ENV MW_SMTP_PORT=''
ENV MW_SMTP_USER=''
ENV MW_SMTP_PASS=''
ENV MW_SMTP_TLS=false
ENV MW_WEB_LISTEN_V4=0.0.0.0:3000
ENV MW_WEB_PUBLIC_URK=http://localhost:3000
ENV MW_SECURITY_PEPPER=
ENV MW_WEB_PUBLIC_URL=http://localhost:3000
ENV MW_SECURITY_PEPPER=''
ENV MW_SECURITY_ALLOW_SIGNUP=true
ENV MW_SECURITY_VERIFY_USERS=true
ENV MW_SECURITY_VERIFY_SENDERS=true
Expand Down

0 comments on commit 06ef3f7

Please sign in to comment.