Beter zo
This commit is contained in:
17 files changed
+253
-237
No files matched your search
+2
-2
@@ -8,9 +8,9 @@ RUN cargo build --release --locked
|
||||
|
||||
FROM docker.io/library/alpine:latest
|
||||
WORKDIR /app
|
||||
COPY --from=build /app/target/release/pastable /usr/local/bin/pastable
|
||||
COPY --from=build /app/target/release/pastabble /usr/local/bin/pastabble
|
||||
COPY static ./static
|
||||
ENV DATABASE_URL=sqlite:///data/pastable.db
|
||||
VOLUME ["/data"]
|
||||
EXPOSE 3000
|
||||
CMD ["pastable"]
|
||||
CMD ["pastabble"]
|
||||
Reference in new issue
Block a user