Skip to content

Commit

Permalink
Fix an issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken-Miura committed Nov 11, 2023
1 parent 5d8def6 commit 4983020
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -134,12 +134,7 @@ FROM psql-client as db-initializer
COPY data_store_setup_files/initdb/init.sh .
CMD [ "./init.sh" ]

FROM --platform=linux/amd64 rust:1.73.0-alpine as migration-tool
RUN apk add --update build-base pkgconfig openssl-dev && \
rm -rf /var/cache/apk/*
WORKDIR /workspace
RUN export SEA_ORM_CLI_VERSION=0.12.4 && \
cargo install --locked --version ${SEA_ORM_CLI_VERSION} sea-orm-cli
FROM development as migration-tool
# ビルドコンテキストはserverディレクトリ直下であると仮定
COPY . .
CMD [ "./data_store_setup_files/initdb/migrate.sh" ]
Expand Down

0 comments on commit 4983020

Please sign in to comment.