Merge pull request #120 from EETagent/workdit_backend

(backend) (devops) workdir
This commit is contained in:
Vojtěch Jungmann 2023-01-02 23:58:57 +01:00 committed by GitHub
commit fd83fa17cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -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"]

View file

@ -16,4 +16,4 @@ COPY --from=0 /app .
COPY . .
EXPOSE 3000
CMD ["node", "./build"]
ENTRYPOINT ["node", "./build"]