Fix dockerfile
This commit is contained in:
parent
116661c674
commit
b8e862cb67
1 changed files with 0 additions and 2 deletions
|
|
@ -8,7 +8,6 @@ RUN apt update && \
|
||||||
pkg-config && \
|
pkg-config && \
|
||||||
cargo install sqlx-cli
|
cargo install sqlx-cli
|
||||||
|
|
||||||
# Build application
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN sqlx database create --database-url sqlite://db.sqlite3 && \
|
RUN sqlx database create --database-url sqlite://db.sqlite3 && \
|
||||||
|
|
@ -28,7 +27,6 @@ RUN apt update && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /usr/src/backend/target/release/sync_server /app/sync_server
|
COPY --from=builder /usr/src/backend/target/release/sync_server /app/sync_server
|
||||||
COPY test-entrypoint.sh /app/test-entrypoint.sh
|
|
||||||
|
|
||||||
RUN chmod +x /app/test-entrypoint.sh
|
RUN chmod +x /app/test-entrypoint.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue