fix symlink creation path

don't pass rocket dependency to package package
This commit is contained in:
2024-02-16 11:42:25 +01:00
parent 04f4e99782
commit 96c2876c97
4 changed files with 7 additions and 10 deletions

View File

@ -24,9 +24,6 @@ RUN cargo build --release --features static
# Stage 2: Create the final image
FROM archlinux
# Copy the built binary from the previous stage
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
RUN echo $'\n\
[multilib]\n\
Include = /etc/pacman.d/mirrorlist'>> /etc/pacman.conf
@ -41,6 +38,9 @@ RUN echo $'\n\
SigLevel = Optional TrustAll\n\
Server = http://localhost:8080/' >> /etc/pacman.conf
# Copy the built binary from the previous stage
COPY --from=builder /app/target/release/untitled /usr/local/bin/untitled
# Set the entry point or default command to run your application
WORKDIR /app
CMD ["untitled"]