mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
Merge pull request #120 from EETagent/workdit_backend
(backend) (devops) workdir
This commit is contained in:
commit
fd83fa17cf
2 changed files with 6 additions and 2 deletions
|
|
@ -6,4 +6,8 @@ RUN cargo build --release
|
|||
FROM debian:bullseye-slim
|
||||
#RUN apt-get update && apt-get install -y PRIPADNE_DEPS && rm -rf /var/lib/apt/lists/*
|
||||
COPY --from=builder /portfolio/target/release/portfolio /usr/local/bin/portfolio
|
||||
CMD ["portfolio"]
|
||||
|
||||
VOLUME ["/portfolio"]
|
||||
WORKDIR /portfolio
|
||||
|
||||
ENTRYPOINT ["portfolio"]
|
||||
|
|
|
|||
|
|
@ -16,4 +16,4 @@ COPY --from=0 /app .
|
|||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "./build"]
|
||||
ENTRYPOINT ["node", "./build"]
|
||||
Loading…
Reference in a new issue