Add database migrations
This commit is contained in:
parent
9b86067dac
commit
0a41b5c909
1 changed files with 3 additions and 0 deletions
|
|
@ -28,9 +28,12 @@ WORKDIR /app
|
|||
|
||||
# Copy Go binary
|
||||
COPY --from=backend-builder /repo/back-end/server /app/server
|
||||
COPY --from=backend-builder /repo/back-end/pb_migrations /app/pb_migrations
|
||||
|
||||
# Copy frontend assets
|
||||
COPY --from=frontend-builder /repo/front-end/dist /app/pb_public
|
||||
|
||||
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT ["./server", "--dir", "/pb_data", "serve", "--http", "127.0.0.1:8090"]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue