Added migrations
This commit is contained in:
@@ -19,11 +19,12 @@ LABEL dev.egommerce.image.build_time=${BUILD_TIME}
|
||||
|
||||
WORKDIR /
|
||||
COPY --from=builder $BIN_OUTPUT /app
|
||||
COPY --from=builder /go/bin/migrate /bin/go_migrate
|
||||
COPY .env.dist /.env
|
||||
COPY ./bin/entrypoint.sh ./bin/wait-for-it.sh /
|
||||
RUN chmod 755 /entrypoint.sh
|
||||
COPY ./bin /bin
|
||||
RUN chmod 755 /bin/entrypoint.sh /bin/migrate.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["sh", "-c", "/app"]
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
ENTRYPOINT ["entrypoint.sh"]
|
||||
|
||||
Reference in New Issue
Block a user