Fix static directory in the container
This commit is contained in:
parent
3f2d22ba47
commit
a5470ae857
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
|||
/target/
|
||||
|
||||
# Dev
|
||||
/dev_data/
|
||||
config.yaml
|
||||
log.txt
|
||||
|
||||
|
|
|
@ -16,5 +16,5 @@ FROM docker.io/library/debian:stable-slim AS runtime
|
|||
WORKDIR app
|
||||
ENV CF_CONFIG_FILE=/volumes/data/config.yaml
|
||||
COPY --from=builder /app/target/release/contact-form /usr/local/bin/contact-form
|
||||
COPY --from=builder /app/static .
|
||||
COPY --from=builder /app/static/ ./static/
|
||||
CMD ["contact-form"]
|
||||
|
|
Loading…
Reference in a new issue