fix symlink creation path
don't pass rocket dependency to package package
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user